gcc/testsuite/gcc.target/i386/pad-10.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */ |
| 3 | /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ |
| 4 | /* { dg-final { scan-assembler-not "nop" { target { nonpic || { ! ia32 } } } } } */ |
| 5 | /* { dg-final { scan-assembler-not "rep" } } */ |
| 6 | |
| 7 | extern void bar (); |
| 8 | |
| 9 | int |
| 10 | foo2 (int z, int x) |
| 11 | { |
| 12 | if (x == 1) |
| 13 | { |
| 14 | bar (); |
| 15 | return z; |
| 16 | } |
| 17 | else |
| 18 | return x - z; |
| 19 | } |