summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/930529-1.x
blob: a44f482c22f726d66ce071b5092a0e72c83e49a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# The problem on Alpha at -O3 is that when dd is inlined, we have
# division by a constant, which gets converted to multiplication
# by a large constant, which gets turned into an induction variable.
# The problem is that the multiplication was unsigned SImode, and the
# induction variable is DImode, and we lose the truncation that
# should have happened.

set torture_eval_before_execute {

    set compiler_conditional_xfail_data {
        "division by a constant conflicts with strength reduction" \
        "alpha*-*-*" \
        { "-O3" } \
        { "" }
    }
}

return 0