(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr100492.c
       1  /* { dg-do run } */
       2  /* { dg-additional-options "-ftree-loop-distribution" } */
       3  
       4  extern void abort (void);
       5  
       6  signed char a, c;
       7  int b, d, *e = &d, g;
       8  signed static char f;
       9  int main() {
      10    int h = 0;
      11    int a_ = a;
      12    for (; a_ < 1; a = ++a_) {
      13      int *i[5], **j = &i[4], ***k[3][2] = {{&j}}, ****l = &k[2][1], *****m = &l;
      14      char *n = &c;
      15      f = *e = g = 0;
      16      for (; g < 2; g++) {
      17        for (b = 0; b < 3; b++)
      18          h = (h && (*n = 0)) == 0;
      19        if (g)
      20          break;
      21      }
      22    }
      23    if (f != 0)
      24      abort ();
      25    return 0;
      26  }