OSDN Git Service

Index: libcpp/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-local2.c
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" } } */
4
5 static __attribute__ ((noinline)) q ();
6 int a;
7
8 /* This function should not require any stack manipulation
9    for preferred stack bounday.  */
10 void
11 e ()
12 {
13   if (a)
14   {
15     e ();
16     a--;
17   }
18   q ();
19 }
20
21 static __attribute__ ((noinline)) q ()
22 {
23 }