Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / gcc.target / aarch64 / test-framepointer-1.c
blobe44ca6d4cd85e43344b990afd575ea637ac05bf6
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-inline --save-temps" } */
4 #include "asm-adder-no-clobber-lr.c"
6 /* omit-frame-pointer is FALSE.
7 omit-leaf-frame-pointer is FALSE.
8 LR is not being clobbered in the leaf.
10 With no frame pointer omissions, we expect a frame record
11 for main and the leaf. */
13 /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */
15 /* { dg-final { cleanup-saved-temps } } */