Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipa-icf-9.c
blob7742d74ce01c9fd3ef2d901b81ce5df9ea90f880
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-icf" } */
4 int funkce(int a, int b) __attribute__ ((pure));
6 __attribute__ ((noinline))
7 int ferda(int x, int y)
9 if (x < y)
11 return x;
13 else
14 return y;
17 __attribute__ ((noinline))
18 int funkce(int a, int b)
20 if(a < b)
21 return a;
22 else
23 return b;
26 int main(int argc, char **argv)
28 return 0;
31 /* { dg-final { scan-ipa-dump-not "Semantic equality hit:" "icf" } } */
32 /* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf" } } */