Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / gcc.c-torture / compile / pr59803.c
blobd2b5d2098f5060e474dd0e2c68cc17a0c8fcd47c
1 /* PR target/59803 */
3 extern void baz (void) __attribute__ ((__noreturn__));
4 struct A { int g, h; };
5 extern struct A a;
6 struct B { unsigned char i, j, k, l, m; };
7 int c, d, e;
8 static int f;
10 void
11 foo (void)
13 f = 1;
16 void
17 bar (struct B *x)
19 x->i = e;
20 x->k = c;
21 x->l = d;
22 x->j = a.h;
23 x->m = f;
24 if (x->i != e) baz ();
25 if (x->k != c) baz ();
26 if (x->j != a.h) baz ();