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