blob: ec32e0c669ed2ff82f391e535c9ca49857392696 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* PR target/36936 */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i386" } */
/* { dg-final { scan-assembler "cmov" } } */
extern int foo (int) __attribute__((__option__("arch=i686")));
int
foo (int x)
{
if (x < 0)
x = 1;
return x;
}
|