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

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