OSDN Git Service

Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 981130-1.x
1 # This test is known to fail on targets that use the instruction scheduler
2 # at optimisation levels of 2 or more because the alias analysis is confused
3 # by the reassignment of a variable structure to a fixed structure.  The 
4 # failure could be suppressed by preventing instruction scheduling:
5 #
6 # set additional_flags "-fno-schedule-insns2";
7 #
8 # but this would disguise the fact that there is a problem.  Instead we use
9 # we generate an xfail result and explain that it is alias analysis that
10 # is at fault.
11
12 set torture_eval_before_execute {
13
14     set compiler_conditional_xfail_data {
15         "alias analysis conflicts with instruction scheduling" \
16         "m32r-*-*" \
17         { "-O2" "-O1" "-O0" "-Os"} \
18         { "" }
19         }    
20 }
21
22 return 0