diff options
author | Roger Sayle <roger@eyesopen.com> | 2002-10-04 16:36:42 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2002-10-04 16:36:42 +0000 |
commit | f91f86e7dac29f0e2d965fe0c50b7f6e76fb27bb (patch) | |
tree | 1e9885ef2ac34581f6041a777bfcd0b809ded345 | |
parent | 0fca111b3cbf62e792f1fa475aded7496aab4caf (diff) | |
download | gcc-f91f86e7dac29f0e2d965fe0c50b7f6e76fb27bb.zip gcc-f91f86e7dac29f0e2d965fe0c50b7f6e76fb27bb.tar.gz gcc-f91f86e7dac29f0e2d965fe0c50b7f6e76fb27bb.tar.bz2 |
re PR target/8087 (sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64)
* gcc.c-torture/execute/20020720-1.x: XFAIL instead of skipping
the test on failing platforms. Mark sparcv9-*-*, sparc64-*-*
and sparc-*-* with -m64 as expected failures. See PR 8087.
From-SVN: r57822
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020720-1.x | 19 |
2 files changed, 21 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a66325..e3e11ed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-10-04 Roger Sayle <roger@eyesopen.com> + + * gcc.c-torture/execute/20020720-1.x: XFAIL instead of skipping + the test on failing platforms. Mark sparcv9-*-*, sparc64-*-* + and sparc-*-* with -m64 as expected failures. See PR 8087. + 2002-10-03 Mark Mitchell <mark@codesourcery.com> PR c++/7931 diff --git a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x index d6e43e76..10980f4 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x +++ b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x @@ -10,10 +10,21 @@ # combiner is able to see all intermediate instructions simultaneously # and can make the optimization. if { [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \ - || [istarget "sh-*-*"] \ - || [istarget "arm*-*-*"] || [istarget "strongarm*-*-*"] \ - || [istarget "xscale*-*-*"] } { - return 1 + || [istarget "sh-*-*"] || [istarget "arm*-*-*"] \ + || [istarget "strongarm*-*-*"] || [istarget "xscale*-*-*"] \ + || [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } { + set torture_execute_xfail [istarget] +} + +# sparc-*-* also fails with -m64. +set torture_eval_before_execute { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "This test fails on sparc -m64, see PR8087." \ + { "sparc-*-*" } \ + { "-m64" } \ + { "" } + } } return 0 |