* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20021014-1.c
blobdd8614c9f093da1cb7d033d5462688146ef9965e
1 /* { dg-do run } */
2 /* { dg-require-profiling "-p" } */
3 /* { dg-options "-O2 -p" } */
4 /* { dg-options "-O2 -p -static" { target hppa*-*-hpux* } } */
5 /* { dg-error "profiler" "No profiler support" { target xstormy16-*-* } 0 } */
6 /* { dg-error "" "consider using `-pg' instead of `-p' with gprof(1)" { target *-*-freebsd* } 0 } */
8 extern void abort (void);
9 extern void exit (int);
11 int foo (void)
13 int bar (int x)
15 return x + 3;
17 return bar (1) + bar (2);
20 int main (void)
22 if (foo () != 9)
23 abort ();
24 exit (0);