| 1 |
/* Verify: |
| 2 |
* -fomit-frame-pointer. |
| 3 |
* with outgoing. |
| 4 |
* total frame size bigger than 512. |
| 5 |
* number of callee-saved reg == 1. */ |
| 6 |
|
| 7 |
/* { dg-do run } */ |
| 8 |
/* { dg-options "-O2 -fomit-frame-pointer --save-temps -fno-stack-protector" } */ |
| 9 |
|
| 10 |
#include "test_frame_common.h" |
| 11 |
|
| 12 |
t_frame_pattern_outgoing (test8, 700, , 8, a[8]) |
| 13 |
t_frame_run (test8) |
| 14 |
|
| 15 |
/* { dg-final { scan-assembler-times "str\tx30, \\\[sp, \[0-9\]+\\\]" 1 } } */ |
| 16 |
/* { dg-final { scan-assembler "ldr\tx30, \\\[sp, \[0-9\]+\\\]" } } */ |
| 17 |
|