Blame SOURCES/gcc11-alt-compat-test.patch

f61693
--- gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c.jj	2011-01-03 06:50:42.000000000 -0500
f61693
+++ gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c	2011-02-18 06:28:53.858200077 -0500
f61693
@@ -1501,6 +1501,8 @@ generate_random_tests (enum FEATURE feat
f61693
   int i, r;
f61693
   if (len > 'z' - 'a' + 1)
f61693
     abort ();
f61693
+  if (getenv ("ALT_CXX_UNDER_TEST") != NULL)
f61693
+    features &= ~FEATURE_VECTOR;
f61693
   memset (e, 0, sizeof (e));
f61693
   r = generate_random ();
f61693
   if ((r & 7) == 0 && !cxx14_vs_cxx17)
f61693
--- gcc/testsuite/g++.dg/compat/compat.exp.jj	2011-01-03 06:50:42.000000000 -0500
f61693
+++ gcc/testsuite/g++.dg/compat/compat.exp	2011-02-18 06:30:54.248200398 -0500
f61693
@@ -116,7 +116,12 @@ if [info exists ALT_CXX_UNDER_TEST] then
f61693
 }
f61693
 
f61693
 # Main loop.
f61693
-foreach src [lsort [find $srcdir/$subdir *_main.C]] {
f61693
+set tests [lsort [find $srcdir/$subdir *_main.C]]
f61693
+if { $use_alt != 0 } then {
f61693
+    set tests [prune $tests $srcdir/$subdir/decimal/*]
f61693
+}
f61693
+
f61693
+foreach src $tests {
f61693
     # If we're only testing specific files and this isn't one of them, skip it.
f61693
     if ![runtest_file_p $runtests $src] then {
f61693
 	continue
f61693
--- gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c.jj	2011-01-03 06:49:58.000000000 -0500
f61693
+++ gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c	2011-02-18 06:27:54.922262671 -0500
f61693
@@ -1912,6 +1912,8 @@ generate_random_tests (enum FEATURE feat
f61693
   int i, r;
f61693
   if (len > 'z' - 'a' + 1)
f61693
     abort ();
f61693
+  if (getenv ("ALT_CC_UNDER_TEST") != NULL)
f61693
+    features &= ~FEATURE_VECTOR;
f61693
   memset (e, 0, sizeof (e));
f61693
   r = generate_random ();
f61693
   if ((r & 7) == 0)
f61693
--- gcc/testsuite/lib/c-compat.exp.jj	2011-01-03 06:48:38.000000000 -0500
f61693
+++ gcc/testsuite/lib/c-compat.exp	2011-02-18 06:38:19.124265008 -0500
f61693
@@ -75,7 +75,7 @@ proc compat_setup_dfp { } {
f61693
     # If there is an alternate compiler, does it support decimal float types?
f61693
     if { $compat_have_dfp == 1 && $compat_use_alt == 1 && $compat_same_alt == 0 } {
f61693
 	compat-use-alt-compiler
f61693
-	set compat_have_dfp [check_effective_target_dfprt_nocache]
f61693
+	set compat_have_dfp 0
f61693
 	compat-use-tst-compiler
f61693
 	verbose "compat_have_dfp for alt compiler: $compat_have_dfp" 2
f61693
     }