aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/test_frame_8.c
blob: 435d9d59e68d71b1d4c56f1beca5fb1bce4f39b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Verify:
     * -fomit-frame-pointer.
     * with outgoing.
     * total frame size bigger than 512.
     * number of callee-saved reg == 1.  */

/* { dg-do run } */
/* { dg-options "-O2 -fomit-frame-pointer --save-temps" } */

#include "test_frame_common.h"

t_frame_pattern_outgoing (test8, 700, , 8, a[8])
t_frame_run (test8)

/* { dg-final { scan-assembler-times "str\tx30, \\\[sp, -\[0-9\]+\\\]!" 3 } } */
/* { dg-final { scan-assembler-times "ldr\tx30, \\\[sp\\\], \[0-9\]+" 3 } } */