1 /* { dg-options "-O2 -fdump-tree-optimized -fwhole-program" } */
2 int b[100];
3 void abort (void);
4 
5 void
large_function()6 large_function ()
7 {
8   int i;
9   for (i = 0; i < 99; i++)
10     if (b[i] / (b[i+1] + 1))
11       abort ();
12 }
13 
14 int
main()15 main ()
16 {
17   large_function ();
18 }
19 
20 /* Function should be inlined as called once.  */
21 /* { dg-final { scan-tree-dump-not "large_function" "optimized"} } */
22 
23 
24