(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
pure-code/
pr96767.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-mpure-code" } */
       3  
       4  int x;
       5  int f1 (void) { return x; }
       6  
       7  /* We expect only one indirect load like ldr r3, [r3]. In some
       8     configurations there is an additional ldr rX, [sp], #4 which is not
       9     related to what we check here, so make sure not to match it.  */
      10  /* { dg-final { scan-assembler-times "ldr\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 1 } } */