20020227-1.x: Update specific XFAIL conditions for SPARC targets.
[gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20020227-1.x
1 # This test reportedly fails on all 64-bit targets, see PR6221. It's
2 # been observed to fail on at least mips-irix6, alpha, ia64, hppa64,
3 # sparc64/sparcv9 and mmix during April 2002.
4
5 if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
6 # On sparc64/sparcv9 it doesn't fail at -O0/-O1, or at all with -m32.
7 set torture_eval_before_execute {
8 global compiler_conditional_xfail_data
9 set compiler_conditional_xfail_data {
10 "This test fails on 64-bit targets, see PR6221." \
11 { "*-*-*" } \
12 { "-O2" "-O3" "-Os" } \
13 { "-m32" }
14 }
15 }
16 } elseif { [istarget "sparc-*-*"] } {
17 # Regular sparc fails with -m64, but not with -O0/-O1.
18 set torture_eval_before_execute {
19 global compiler_conditional_xfail_data
20 set compiler_conditional_xfail_data {
21 "This test fails on 64-bit targets, see PR6221." \
22 { "*-*-*" } \
23 { "-m64" } \
24 { "-O0" "-O1" }
25 }
26 }
27 } elseif { [istarget "*64*-*-*"] || [istarget "alpha*-*-*"]
28 || [istarget "mmix-*-*"] || [istarget "mips*-*-irix6*"] } {
29 # Other 64-bit targets fail at all optimization levels.
30 set torture_execute_xfail [istarget]
31 }
32
33 return 0