1 /* { dg-options "-O2 -fdump-tree-optimized -fgnu89-inline" } */
10 for (i
= 0; i
< 99; i
++)
11 if (b
[i
] / (b
[i
+1] + 1))
19 for (i
= 0; i
< 99; i
++)
20 if (b
[i
] / (b
[i
+1] + 1))
28 for (i
= 0; i
< 1000000; i
++)
31 cold_function (); /* Should not be inlined. */
33 hot_function (); /* Should be inlined. */
38 /* The call to hot_function should be inlined, while cold_function should
39 not be. Look for the "cold_function ();" call statement and not for
40 its declaration or other occurrences of the string in the dump. */
41 /* { dg-final-use { scan-tree-dump "cold_function ..;" "optimized"} } */
42 /* { dg-final-use { scan-tree-dump-not "hot_function ..;" "optimized"} } */