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