LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr77653.c
blobf0b2b224091583bcf51d8d7444033c2042de3b7b
1 /* { dg-require-alias "" } */
2 /* { dg-options "-O2 -fdump-ipa-icf-details" } */
4 int a, b, c, d, e, h, i, j, k, l;
5 const int f;
6 static int g;
8 void fn1 (int p1)
10 k = d ? c % k : a * b;
11 h &= j ^ i ^ 1;
14 int main ()
16 const int *m = &f, **n = &m;
17 l && (*n = &e);
18 if (m != &f)
19 __builtin_abort ();
20 fn1 (g);
21 return 0;
24 /* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */
25 /* { dg-final { scan-ipa-dump "Not unifying; alias cannot be created; target is discardable" "icf" } } */