1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-icf" } */
7 int gcd(int x
, int y
) __attribute__ ((pure
));
9 __attribute__ ((noinline
))
39 int nsd(int x
, int y
) __attribute__ ((pure
));
41 __attribute__ ((noinline
))
71 int main(int argc
, char **argv
)
76 /* { dg-final { scan-ipa-dump "Semantic equality hit:nsd->gcd" "icf" } } */
77 /* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */
78 /* { dg-final { cleanup-ipa-dump "icf" } } */