| 1 |
/* PR middle-end/56548 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O3" } */ |
| 4 |
/* { dg-additional-options "-march=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ |
| 5 |
|
| 6 |
short |
| 7 |
foo (short x) |
| 8 |
{ |
| 9 |
int i; |
| 10 |
|
| 11 |
for (i = 0; i < 3; i++) |
| 12 |
if (x > 0) |
| 13 |
x--; |
| 14 |
|
| 15 |
return x; |
| 16 |
} |