1 /* Verify that indirect inlining can also remove references of the functions it
2 discovers calls for. */
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -fno-early-inlining -fno-ipa-cp -fdump-ipa-inline -fdump-tree-optimized" } */
8 void __attribute__ ((noinline
, noclone
, used
))
19 static void hiphip (void (*f
)())
31 /* { dg-final { scan-ipa-dump "ipa-prop: Removed a reference" "inline" } } */
32 /* { dg-final { scan-tree-dump-not "hooray" "optimized" } } */
33 /* { dg-final { cleanup-ipa-dump "inline" } } */
34 /* { dg-final { cleanup-tree-dump "optimized" } } */