Merge from trunk @ 138209
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / funcspec-10.c
blob9446cdf8f3519ee7b06c8c0cd0238a7ba173413d
1 /* PR target/36936 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-options "-O2 -march=i686" } */
5 /* { dg-final { scan-assembler-not "cmov" } } */
7 extern int foo (int) __attribute__((__option__("arch=i386")));
9 int
10 foo (int x)
12 if (x < 0)
13 x = 1;
14 return x;