Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr82363.c
blob6652468976b21027f768533719a4979f45e5253c
1 /* { dg-do run } */
2 /* { dg-options "-O" } */
4 struct A
6 int b;
7 int c;
8 int d;
9 };
11 struct E
13 int f;
14 int g:18;
15 struct A h;
18 struct I
20 int b;
21 int j;
22 struct E k;
25 int l, *m = &l;
27 struct A n;
28 struct I o;
30 void __attribute__ ((noipa))
31 test_l (void)
33 if (l != 1)
34 __builtin_abort ();
37 int main ()
39 while (1)
41 struct I q = { 0, 0, {0, 0, {1, 1, 1}}}, p = q, r = p, *s = &q;
42 if (p.k.h.c)
43 o = p;
44 *m = r.k.h.d;
45 n = (*s).k.h;
46 break;
48 test_l ();
49 return 0;