LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipa-icf-6.c
blob322b3b56ddfddc3a4627d7497fd92f9cdfcfc657
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -fipa-icf -fdump-ipa-icf" } */
4 typedef int v4si __attribute__ ((vector_size (16)));
6 __attribute__ ((noinline))
7 int foo(void)
9 v4si a = {1,2,3,4};
10 v4si b = {3,2,1,4};
11 v4si c;
13 return 54;
16 __attribute__ ((noinline))
17 int bar(void)
19 v4si a = {1,2,3,4};
20 v4si b = {3,2,5,4};
21 v4si c;
23 return 54;
26 int main()
28 foo();
29 bar();
31 return 0;
34 /* { dg-final { scan-ipa-dump-not "Semantic equality hit:" "icf" } } */
35 /* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf" } } */