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