1 2 3 4 5 6 7 8 9 10 11 12
/* PR tree-optimization/54321 */ struct S { char s[0]; } *a; void foo (void) { char *b = a->s; int c = 0; b[0] = 0; while (++c < 9) b[c] = 255; }