summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pad-5b.c
blob: 1eb82fe899f1fdd02efb47eb4f767b8a2028c11c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
/* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */
/* { dg-final { scan-assembler-times "nop" 4 { target { ! x86_64-*-mingw* } } } } */
/* { dg-final { scan-assembler-times "nop" 2 { target { x86_64-*-mingw* } } } } */
/* { dg-final { scan-assembler-not "rep" } } */

int
foo (int x, int y, int z)
{
   return x + y + z;
}