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

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