Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ipa-split-1.c
blobed7b480061515e42af58a52d10b7e5e918e30245
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-fnsplit" } */
4 void do_something_big (void);
6 int test2(int a)
8 if (a<100)
9 return 1;
10 do_something_big ();
11 do_something_big ();
12 do_something_big ();
13 do_something_big ();
14 do_something_big ();
15 do_something_big ();
16 do_something_big ();
17 do_something_big ();
18 do_something_big ();
19 do_something_big ();
20 do_something_big ();
21 do_something_big ();
22 do_something_big ();
23 return 0;
26 void
27 test()
29 test2(10);
30 test2(20);
32 /* { dg-final { scan-tree-dump-times "Splitting function" 1 "fnsplit"} } */