1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized -fno-inline" } */
3 /* { dg-add-options bind_pic_locally } */
6 very_long_function(int a)
9 return 2 * a + very_long_function (a)/4;
11 return 2 * -a + very_long_function (a)/4;
16 very_long_function (1);
18 /* One appereance for dump, one self recursive call and one call from main. */
19 /* { dg-final { scan-tree-dump-times "very_long_function.constprop.0 \\(\\)" 3 "optimized"} } */
20 /* { dg-final { cleanup-tree-dump "optimized" } } */