1 /* Contributed by Joost VandeVondele <jv244@cam.ac.uk> */
4 /* { dg-require-profiling "-pg" } */
5 /* { dg-options "-O2 -pg" } */
6 /* { dg-options "-O2 -pg -mtune=core2" { target { i?86-*-* x86_64-*-* } } } */
7 /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */
9 extern void abort (void);
14 __attribute__((noinline
))
21 __attribute__((noinline
))
24 if (stack_pointer
+ 1 > 10)
27 stack_pointer
= stack_pointer
+ 1;
33 return stack_pointer
- 1;
36 /* { dg-final { cleanup-profile-file } } */