diff options
Diffstat (limited to 'gcc-4.4.3/gcc/testsuite/gcc.target/i386/pad-8.c')
-rw-r--r-- | gcc-4.4.3/gcc/testsuite/gcc.target/i386/pad-8.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/testsuite/gcc.target/i386/pad-8.c b/gcc-4.4.3/gcc/testsuite/gcc.target/i386/pad-8.c new file mode 100644 index 000000000..873a0a4fa --- /dev/null +++ b/gcc-4.4.3/gcc/testsuite/gcc.target/i386/pad-8.c @@ -0,0 +1,11 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -fomit-frame-pointer -march=atom -S" } */ +/* { dg-final { scan-assembler-times "nop; nop; nop; nop; nop; nop" 1 } } */ +/* { dg-final { scan-assembler-not "nop; nop; nop; nop; nop; nop; nop" } } */ +/* { dg-final { scan-assembler-not "rep" } } */ + +int +foo (int x, int y) +{ + return y; +} |