Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr85173.c
blob36105c96a73fb369c4612c6d902f6cf7f6d9153b
1 /* PR target/85173. */
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 } */
7 __attribute__((noinline, noclone)) void
8 foo (char *p)
10 asm volatile ("" : : "r" (p) : "memory");
13 /* Nonconstant alloca, small local frame. */
14 __attribute__((noinline, noclone)) void
15 f5 (int x)
17 char locals[128];
18 char *vla = __builtin_alloca (x);
19 foo (vla);