1 /* { dg-options "-O2 -fdump-ipa-inline-details -fno-early-inlining " } */
2 /* { dg-add-options bind_pic_locally } */
10 if (__builtin_constant_p (i
))
19 else return test3(i
)+test4(i
);
25 return test2(i
) + test2(i
+1) + test3 (i
) + test3(i
) + test3(i
) + test3 (i
);
31 return test (i
) + test (i
);
33 /* The test should work by first inlining test2->test and then test to run
34 Both are called twice, so 4 hints (the second make sure that we propagate
36 /* { dg-final { scan-ipa-dump-times "hints: declared_inline builtin_constant_p" 4 "inline" } } */