diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-02-06 00:33:26 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-02-06 00:33:26 +0000 |
commit | 48d1ce967f40e221db7afb6496ba34c190e3d9fd (patch) | |
tree | a12f10e978c922638ff239d4f802a9fe3c74458b /gcc | |
parent | 2113479c7dad95359fb08179bc3ed3c5706be480 (diff) | |
download | gcc-48d1ce967f40e221db7afb6496ba34c190e3d9fd.zip gcc-48d1ce967f40e221db7afb6496ba34c190e3d9fd.tar.gz gcc-48d1ce967f40e221db7afb6496ba34c190e3d9fd.tar.bz2 |
20020227-1.x: Update specific XFAIL conditions for SPARC targets.
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
conditions for SPARC targets.
From-SVN: r62463
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020227-1.x | 38 |
2 files changed, 30 insertions, 13 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4d553c6..2c9a9ee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.c-torture/execute/20020227-1.x: Update specific XFAIL + conditions for SPARC targets. + 2003-02-05 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20030204-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/20020227-1.x b/gcc/testsuite/gcc.c-torture/execute/20020227-1.x index 3c3c4bb9c..67afb82 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20020227-1.x +++ b/gcc/testsuite/gcc.c-torture/execute/20020227-1.x @@ -2,20 +2,32 @@ # been observed to fail on at least mips-irix6, alpha, ia64, hppa64, # sparc64/sparcv9 and mmix during April 2002. -if { [istarget "*64*-*-*"] || [istarget "alpha*-*-*"] || [istarget "mmix-*-*"] - || [istarget "sparcv9-*-*"] || [istarget "mips*-*-irix6*"] } { - set torture_execute_xfail [istarget] -} - -# Regular sparc- also fails with -m64. -set torture_eval_before_execute { - global compiler_conditional_xfail_data - set compiler_conditional_xfail_data { - "This test fails on 64-bit targets, see PR6221." \ - { "sparc-*-*" } \ - { "-m64" } \ - { "" } +if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } { + # On sparc64/sparcv9 it doesn't fail at -O0/-O1, or at all with -m32. + set torture_eval_before_execute { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "This test fails on 64-bit targets, see PR6221." \ + { "*-*-*" } \ + { "-O2" "-O3" "-Os" } \ + { "-m32" } + } } +} elseif { [istarget "sparc-*-*"] } { + # Regular sparc fails with -m64, but not with -O0/-O1. + set torture_eval_before_execute { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "This test fails on 64-bit targets, see PR6221." \ + { "*-*-*" } \ + { "-m64" } \ + { "-O0" "-O1" } + } + } +} elseif { [istarget "*64*-*-*"] || [istarget "alpha*-*-*"] + || [istarget "mmix-*-*"] || [istarget "mips*-*-irix6*"] } { + # Other 64-bit targets fail at all optimization levels. + set torture_execute_xfail [istarget] } return 0 |