[AArch64][12/14] Target attributes and target pragmas tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / target_attr_14.c
bloba4e481d2dc529b961e7238e666aec3756cdac69d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -save-temps" } */
4 /* Inlining non-strict-align functions into strict-align
5 functions is allowed. */
7 int
8 bar (int a)
10 return a - 6;
13 __attribute__ ((target ("strict-align")))
14 int
15 bam (int a)
17 return a - bar (a);
20 /* { dg-final { scan-assembler-not "bl.*bar" } } */