Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.target / aarch64 / test_fp_attribute_1.c
blob7538250c9f304eba62b7fa71b41d76bcf7130127
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\\\]" 2 } } */
26 /* { dg-final { cleanup-saved-temps } } */