1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* { dg-do run } */ /* { dg-options "--param max-aliased-vops=0" } */ struct T { int a, b; } t, q; int main (void) { struct T *p; t.a = 1; t.b = 2; q = t; t.a = 3; if (q.a != 1) __builtin_abort (); return 0; }