1 /* Test for stack alignment with sibcall optimization.  */
2 /* { dg-do compile { target nonpic } } */
3 /* { dg-options "-O2 -mpreferred-stack-boundary=6 -mincoming-stack-boundary=6" } */
4 /* { dg-final { scan-assembler-not "and\[lq\]?\[\\t \]*\\$-64,\[\\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 
bar(void)10 int bar (void)
11 {
12     return foo();
13 }
14