2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-local2.c
blob2225aeea0d92dc5320bfb51469d1891b0a65eaf9
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -funit-at-a-time -fomit-frame-pointer" } */
3 /* { dg-final { scan-assembler-not "sub\[^\\n\]*sp" } } */
5 static __attribute__ ((noinline)) q ();
6 int a;
8 /* This function should not require any stack manipulation
9 for preferred stack bounday. */
10 void
11 e ()
13 if (a)
15 e ();
16 a--;
18 q ();
21 static __attribute__ ((noinline)) q ()