No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / pr32450.c
blob9b36ce42d8b989061b5a71419036782ff3364d72
1 /* Contributed by Joost VandeVondele <jv244@cam.ac.uk> */
3 /* { dg-do run } */
4 /* { dg-require-profiling "-pg" } */
5 /* { dg-options "-O2 -pg" } */
6 /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */
8 extern void abort (void);
10 int stack_pointer;
12 void
13 __attribute__((noinline))
14 mystop ()
16 abort ();
19 void
20 __attribute__((noinline))
21 add ()
23 if (stack_pointer + 1 > 10)
24 mystop ();
26 stack_pointer = stack_pointer + 1;
29 int main ()
31 add ();
32 return stack_pointer - 1;