Merge from mainline
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 930529-1.x
blob25225f4f4d691bc7f69019a8692aac0fde4a37f8
1 # The problem on Alpha at -O3 is that when dd is inlined, we have
2 # division by a constant, which gets converted to multiplication
3 # by a large constant, which gets turned into an induction variable.
4 # The problem is that the multiplication was unsigned SImode, and the
5 # induction variable is DImode, and we lose the truncation that
6 # should have happened.
8 # On tree-ssa branch, the loop problem is still extant, but the
9 # gimple-level optimization makes it easy for the tree-rtl expanders
10 # to see that the comparisons are always true, and so the loop code
11 # is never exercized.
13 # set torture_eval_before_execute {
14
15 #     set compiler_conditional_xfail_data {
16 #         "division by a constant conflicts with strength reduction" \
17 #         "alpha*-*-*" \
18 #         { "-O3" } \
19 #         { "" }
20 #     }
21 # }
23 set additional_flags "-fwrapv"
24 return 0