(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
thumb2-slow-flash-data-3.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_cortex_m } */
       3  /* { dg-require-effective-target arm_thumb2_ok } */
       4  /* { dg-require-effective-target arm_fp_ok } */
       5  /* { dg-skip-if "avoid conflicts with multilib options" { *-*-* } { "-mcpu=*" } { "-mcpu=cortex-m4" "-mcpu=cortex-m7" } } */
       6  /* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
       7  /* { dg-skip-if "-mslow-flash-data and -mword-relocations incompatible" { *-*-* } { "-mword-relocations" } } */
       8  /* { dg-options "-march=armv7e-m+fp -mfloat-abi=hard -mthumb -mslow-flash-data" } */
       9  
      10  /* From PR71607 */
      11  
      12  float b;
      13  void fn1 ();
      14  
      15  float
      16  fn2 ()
      17  {
      18    return 1.1f;
      19  }
      20  
      21  void
      22  fn3 ()
      23  {
      24    float a[2];
      25    a[1] = b;
      26    fn1 (a);
      27  }