(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
pr45094.c
       1  /* { dg-do run } */
       2  /* { dg-require-effective-target arm_neon_hw } */
       3  /* { dg-options "-O2" } */
       4  /* { dg-add-options arm_neon } */
       5  
       6  #include <stdlib.h>
       7  
       8  long long buffer[32];
       9  
      10  void __attribute__((noinline)) f(long long *p, int n)
      11  {
      12    while (--n >= 0)
      13      {
      14        *p = 1;
      15        p += 32;
      16      }
      17  }
      18  
      19  int main(void)
      20  {
      21    f(buffer, 1);
      22    
      23    if (!buffer[0])
      24      abort();
      25  
      26    return 0;
      27  }