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