Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr37843-4.c

raw
1 /* Test for stack alignment with sibcall optimization. */
2 /* { dg-do compile { target { ia32 && nonpic } } } */
3 /* { dg-options "-O2 -msse2 -mpreferred-stack-boundary=4 -mstackrealign" } */
4 /* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
5 /* { dg-final { scan-assembler-not "call\[\\t \]*_?foo" } } */
6 /* { dg-final { scan-assembler "jmp\[\\t \]*_?foo" } } */
7
8 extern int foo (void);
9
10 int bar (void)
11 {
12 return foo();
13 }