| 1 |
/* PR target/36936 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-require-effective-target ia32 } */ |
| 4 |
/* { dg-options "-O2 -march=i686" } */ |
| 5 |
/* { dg-final { scan-assembler "cmov\[^8\]" } } */ |
| 6 |
|
| 7 |
int |
| 8 |
foo (int x) |
| 9 |
{ |
| 10 |
if (x < 0) |
| 11 |
x = 1; |
| 12 |
return x; |
| 13 |
} |