Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr47949.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Oz" } */
3 /* { dg-additional-options "-mregparm=2" { target ia32 } } */
4
5 int foo(int x, int y)
6 {
7 return y;
8 }
9
10 long bar(long x, long y)
11 {
12 return y;
13 }
14
15 /* { dg-final { scan-assembler-times "xchg" 2 } } */