(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
target_attr_5.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -save-temps" } */
       3  
       4  /* Make sure that bar is inlined into bam.  */
       5  
       6  __attribute__ ((target ("arch=armv8-a+nocrc")))
       7  static int
       8  bar (int a)
       9  {
      10    return a - 6;
      11  }
      12  
      13  __attribute__ ((target ("cpu=cortex-a53+nocrc")))
      14  int
      15  bam (int a)
      16  {
      17    return a - bar (a);
      18  }
      19  
      20  /* { dg-final { scan-assembler-not "bl.*bar" } } */