(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr68806.c
       1  /* { dg-do compile } */
       2  
       3  int sad(const unsigned char *p1, long p2)
       4  {
       5    int a = 0;
       6    for (int y = 0; y < 16; y++)
       7      {
       8        for (int x = 0; x < 12; x++)
       9  	a += p1[x];
      10        p1 += p2;
      11      }
      12    return a;
      13  }