1 /* { dg-options "-O2 -funit-at-a-time" } */
2 /* { dg-final { scan-assembler-not "big_function_2" } } */
3 
4 int t(void);
5 static void
6 big_function_2(void);
7 void
big_function_1()8 big_function_1()
9 {
10 	while (t());
11 	while (t());
12 	while (t());
13 	while (t());
14 	while (t());
15 	while (t());
16 	while (t());
17 	while (t());
18 	while (t());
19 	while (t());
20 	while (t());
21 	while (t());
22 	while (t());
23 	while (t());
24 	while (t());
25 	while (t());
26 	while (t());
27 	big_function_2();
28 }
29 static void
big_function_2()30 big_function_2()
31 {
32 	while (t());
33 	while (t());
34 	while (t());
35 	while (t());
36 	while (t());
37 	while (t());
38 	while (t());
39 	while (t());
40 	while (t());
41 	while (t());
42 	while (t());
43 	while (t());
44 	while (t());
45 	while (t());
46 	while (t());
47 	while (t());
48 	while (t());
49 }
50