1 /* { dg-do run } */ 2 /* { dg-options "-O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-inline --save-temps" } */ 3 4 #include "asm-adder-no-clobber-lr.c" 5 6 /* omit-frame-pointer is TRUE. 7 omit-leaf-frame-pointer is true, but irrelevant due to omit-frame-pointer. 8 LR is not being clobbered in the leaf. 9 10 Since we asked to have no frame pointers anywhere, we expect no frame 11 record in main or the leaf. */ 12 13 /* { dg-final { scan-assembler-not "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" } } */ 14 15