LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipa-icf-20.c
blob46dc70492f0c5708969fb629c7590df2a8d37327
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-icf" } */
4 #include <math.h>
6 __attribute__ ((noinline))
7 float foo()
9 return sin(12.4f);
12 __attribute__ ((noinline))
13 float bar()
15 return sin(12.4f);
18 int main()
20 foo();
21 bar();
23 return 0;
26 /* { dg-final { scan-ipa-dump "Semantic equality hit:foo->bar" "icf" } } */
27 /* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */