1 /* PR target/85173. */
2
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-probe-interval=14" } */
5 /* { dg-require-effective-target arm_thumb2_ok } */
6
7 __attribute__((noinline, noclone)) void
8 foo (char *p)
9 {
10 asm volatile ("" : : "r" (p) : "memory");
11 }
12
13 /* Nonconstant alloca, small local frame. */
14 __attribute__((noinline, noclone)) void
15 f5 (int x)
16 {
17 char locals[128];
18 char *vla = __builtin_alloca (x);
19 foo (vla);
20 }