summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/981130-1.x
blob: 1565c68adc78dc088e2ffc5668c1714993578b6d (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-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" \
	"m32r-*-*" \
	{ "-O2" "-O1" "-O0" "-Os"} \
	{ "" }
	}    
}

return 0