summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/980506-2.x
blob: aa6d1f40fd518d26706843dcea1006d60d9d1b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This test is known to fail on targets that use the instruction scheduler
# at optimisation levels of 2 or more because the alias analysis is confused
# by the reassignment of a variable structure to a fixed structure.  The 
# failure could be suppressed by preventing instruction scheduling:
#
# set additional_flags "-fno-schedule-insns -fno-schedule-insns2";
#
# but this would disguise the fact that there is a problem.  Instead we use
# we generate an xfail result and explain that it is alias analysis that
# is at fault.

set torture_eval_before_execute {

    set compiler_conditional_xfail_data {
        "alias analysis conflicts with instruction scheduling" \
	"arm-*-* thumb-*-*" \
	{"-O2" "-Os"} \
	{"-O2 -fomit-frame-pointer -finline-functions" }
	}    
}

return 0