gcc/testsuite/gcc.target/aarch64/test-framepointer-5.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-inline --save-temps" } */ |
| 3 | |
| 4 | #include "asm-adder-clobber-lr.c" |
| 5 | |
| 6 | /* omit-frame-pointer is FALSE. |
| 7 | omit-leaf-frame-pointer is FALSE. |
| 8 | LR is being clobbered in the leaf. |
| 9 | |
| 10 | With no frame pointer omissions, we expect a frame record for main |
| 11 | and the leaf. */ |
| 12 | |
| 13 | /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */ |
| 14 |