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

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