summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/test_frame_8.c
blob: 75a68b41e08c051e67c9f67901f198992d254790 (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\]+\\\]" 1 } } */
/* { dg-final { scan-assembler "ldr\tx30, \\\[sp, \[0-9\]+\\\]" } } */