(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
sve/
pr108430.c
       1  /* { dg-do run { target aarch64_sve512_hw } } */
       2  /* { dg-options "-O3 -msve-vector-bits=512" } */
       3  
       4  long d = 1;
       5  static int i = 37;
       6  static unsigned long a[22];
       7  static unsigned short c[22];
       8  static unsigned g[80];
       9  static unsigned short *h = c;
      10  static unsigned long *j = a;
      11  int main() {
      12    for (long m = 0; m < 8; ++m)
      13      d = 1;
      14    for (unsigned char p = 0; p < 17; p += 2)
      15    {
      16      long t = h[p] ? i : j[p];
      17      g[p] = t;
      18    }
      19    if (g[0])
      20      __builtin_abort ();
      21  }