1 /* { dg-options "-O2 -fdump-tree-optimized -fdump-ipa-profile" } */
18 void * __attribute__((noinline,noclone)) wrap (void *p) { return p; }
27 p = (A *)wrap ((void *)&a);
30 p = (B *)wrap ((void *)&b);
36 /* { dg-final-use { scan-ipa-dump "Indirect call -> direct call.* AA transformation on insn" "profile" } } */
37 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized" } } */
38 /* { dg-final-use { cleanup-tree-dump "optimized" } } */
39 /* { dg-final-use { cleanup-ipa-dump "profile" } } */