[AArch64] SVE tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / test_fp_attribute_1.c
blob54b724b3c18de22a1d4cee494c191f2401f92e4f
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -fno-omit-frame-pointer -fno-inline --save-temps" } */
4 void
5 leaf (void)
7 int a = 0;
10 __attribute__ ((optimize("omit-frame-pointer")))
11 void
12 non_leaf_1 (void)
14 leaf ();
17 __attribute__ ((optimize("omit-frame-pointer")))
18 void
19 non_leaf_2 (void)
21 leaf ();
24 /* { dg-final { scan-assembler-times "str\tx30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */