1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* PR middle-end/46388 */ struct S; struct T { struct S *t; }; extern struct S s, u; void foo (void) { ((struct T *) &u)->t = &s; }