diff options
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.target/i386/pad-7.c')
-rw-r--r-- | gcc-4.8/gcc/testsuite/gcc.target/i386/pad-7.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.target/i386/pad-7.c b/gcc-4.8/gcc/testsuite/gcc.target/i386/pad-7.c new file mode 100644 index 000000000..a4dbd260b --- /dev/null +++ b/gcc-4.8/gcc/testsuite/gcc.target/i386/pad-7.c @@ -0,0 +1,12 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target ia32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ +/* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ +/* { dg-final { scan-assembler-not "nop" } } */ +/* { dg-final { scan-assembler-not "rep" } } */ + +int +foo (int x, int y, int z) +{ + return x + y + z + y; +} |