(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
pr105312.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_neon_ok } */
       3  /* { dg-options "-mcpu=cortex-a15" } */
       4  /* { dg-add-options arm_neon } */
       5  
       6  typedef float stress_matrix_type_t;
       7  typedef unsigned int size_t;
       8  static void __attribute__((optimize("-O3"))) stress_matrix_xy_identity(
       9   const size_t n,
      10   stress_matrix_type_t a[restrict n][n],
      11   stress_matrix_type_t b[restrict n][n],
      12   stress_matrix_type_t r[restrict n][n])
      13  {
      14   register size_t i;
      15   (void)a;
      16   (void)b;
      17   for (i = 0; i < n; i++) {
      18    register size_t j;
      19    for (j = 0; j < n; j++)
      20     r[i][j] = (i == j) ? 1.0 : 0.0;
      21     return;
      22   }
      23  }