modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr54321.c (about)

     1  /* PR tree-optimization/54321 */
     2  struct S { char s[0]; } *a;
     3  
     4  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  }