(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
ldist-25.c
       1  /* { dg-do compile { target size32plus } } */
       2  /* { dg-options "-O3 -ftree-loop-distribute-patterns -fdump-tree-ldist-details" } */
       3  
       4  #define k 1335
       5  double a[k][k];
       6  double b[k][k];
       7  double c[k][k];
       8  
       9  int x;
      10  int y;
      11  
      12  void
      13  foo (void)
      14  {
      15    for (int j = 0; j < x; j++)
      16      {
      17        for (int i = 0; i < y; i++)
      18  	{
      19  	  c[j][i] = b[j][i] - a[j][i];
      20  	  a[j][i] = b[j][i];
      21  	}
      22      }
      23  }
      24  
      25  /* { dg-final { scan-tree-dump "Loop . not distributed" "ldist" } } */