]>
Commit | Line | Data |
---|---|---|
3c5fd361 JJ |
1 | /* PR rtl-optimization/103837 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-Og -fcompare-debug -fmove-loop-invariants -fnon-call-exceptions -fexceptions -fdelete-dead-exceptions -fno-tree-dce -w" } */ | |
4 | ||
5 | unsigned long int | |
6 | foo (int x) | |
7 | { | |
8 | double a; | |
9 | int b; | |
10 | unsigned long int ret = a; | |
11 | ||
12 | for (;;) | |
13 | { | |
14 | b = !!((int) a); | |
15 | a = x; | |
16 | } | |
17 | ||
18 | return ret; | |
19 | } |