2 /* { dg-options "-O -fipa-pta -fdump-ipa-pta-details" } */
4 static int __attribute__((noinline
))
12 static int __attribute__((noinline
))
20 static int __attribute__((noinline
,noclone
))
24 int (*fn
)(int *, int *);
32 extern void abort (void);
42 /* IPA PTA needs to handle indirect calls properly. Verify that
43 both bar and foo get a (and only a) in their arguments points-to sets. */
45 /* { dg-final { scan-ipa-dump "fn_1 = { bar foo }" "pta" } } */
46 /* { dg-final { scan-ipa-dump "bar.arg0 = { a }" "pta" } } */
47 /* { dg-final { scan-ipa-dump "bar.arg1 = { a }" "pta" } } */
48 /* { dg-final { scan-ipa-dump "foo.arg0 = { a }" "pta" } } */
49 /* { dg-final { scan-ipa-dump "foo.arg1 = { a }" "pta" } } */
50 /* { dg-final { cleanup-ipa-dump "pta" } } */