(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
pr103744-1.c
       1  /* { dg-do compile } */
       2  
       3  int r;
       4  
       5  void
       6  foo (short int *s, short int *d1, short int *d2, int z)
       7  {
       8    int *a;
       9  
      10    while (z < 1)
      11      {
      12        int i;
      13  
      14        i = *s++ - (*d1++ + *d2++);
      15        r += a[i];
      16        i = *s++ - (*d1++ + *d2++);
      17        r += a[i];
      18        ++z;
      19      }
      20  }