blob: de39ff00e7180a7b47920b37ec88aa673eccabab [file] [log] [blame]
/* PR target/36936 */
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler-not "cmov" } } */
extern int foo (int) __attribute__((__target__("arch=i386")));
int
foo (int x)
{
if (x < 0)
x = 1;
return x;
}