1 /* { dg-do compile { target { aarch64*-*-* } } } */
2 /* { dg-options "-O2 -fno-stack-protector" } */
3 /* { dg-final { check-function-bodies "**" "" } } */
4
5 /*
6 ** foo:
7 ** ...
8 ** str d8, \[sp\]
9 ** ldr d8, \[sp\]
10 ** ...
11 */
12 void
13 foo (int x)
14 {
15 int tmp[0x1000];
16 asm volatile ("" : "=m" (tmp));
17 if (x == 1)
18 asm volatile ("" ::: "d8");
19 }