(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
pr108508.c
       1  /* { dg-options "-O3 -fharden-conditional-branches -fno-dce -fno-guess-branch-probability" } */
       2  
       3  #include <arm_neon.h>
       4  
       5  int
       6  test_vld3q_lane_f64 (void)
       7  {
       8    float64x2x3_t vectors;
       9    float64_t temp[2];
      10    int i, j;
      11  
      12    for (i = 0; i < 3; i++)
      13    {
      14      vst1q_f64 (temp, vectors.val[i]);
      15      for (j = 0; j < 2; j++)
      16        if (temp[j])
      17          return 1;
      18    }
      19  
      20    return 0;
      21  }
      22  
      23  void
      24  foo (void)
      25  {
      26    if (test_vld3q_lane_f64 () || test_vld3q_lane_f64 ())
      27      __builtin_abort ();
      28  }