| 1 |
/* PR tree-optimization/37663 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -fwrapv" } */ |
| 4 |
/* { dg-require-effective-target int32plus } */ |
| 5 |
|
| 6 |
extern void bar (void); |
| 7 |
|
| 8 |
void |
| 9 |
foo (int x) |
| 10 |
{ |
| 11 |
x = 1 >= x; |
| 12 |
int y = -1885403717; |
| 13 |
x = x + (x != y * y); |
| 14 |
if (x) |
| 15 |
bar (); |
| 16 |
} |