1 /* Verify that simple indirect calls are inlined even without early
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -c -fdump-ipa-inline -fno-early-inlining" } */
6 extern void non_existent(int);
7 extern void non_existent(int);
14 static void __attribute__ ((noinline
)) hiphip (void (*f
)())
19 int __attribute__ ((noinline
,noclone
)) get_input(void)
24 int main (int argc
, int *argv
[])
28 for (i
= 0; i
< get_input (); i
++)
33 /* { dg-final { scan-ipa-dump "hooray\[^\\n\]*inline copy in hiphip.constprop" "inline" } } */