(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
graphite/
pr71824-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -floop-nest-optimize" } */
       3  
       4  typedef struct { float x1; } bx;
       5  typedef struct {
       6      int w;
       7      short o;
       8  } T2P;
       9  T2P a;
      10  int b;
      11  void fn2();
      12  void fn3(bx*,short);
      13  void fn1() {
      14      unsigned i = 0;
      15      int c;
      16      bx *d;
      17      bx **h;
      18      if (b == 0) {
      19  	fn2();
      20  	return;
      21      }
      22      for (; c; c++)
      23        for (; i < 100; i++) {
      24  	  d = h[i];
      25  	  d->x1 = a.w;
      26        }
      27      for (; i < 100; i++) {
      28  	d = h[i];
      29  	d->x1 = a.w;
      30      }
      31      if (a.o)
      32        for (; b;)
      33  	fn3(d, a.o);
      34  }