x86: Use DRAP only if there are outgoing arguments on stack
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr81313-1.c
blobf7650035cacbdc868434daa50a433db1db85223b
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mno-accumulate-outgoing-args -mincoming-stack-boundary=4 -mpreferred-stack-boundary=6" } */
4 extern void foo (void);
6 void
7 bar (void)
9 foo ();
12 /* { dg-final { scan-assembler-not "lea\[lq\]?\[\\t \]*\[0-9\]*\\(%\[er\]sp\\)" } } */