blob: 8deaa587305e156fe49e7157c1b86c23b8f5ed3b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
/* { dg-require-effective-target supports_stack_clash_protection } */
/* { dg-require-effective-target alloca } */
/* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
#define SIZE 0
#include "stack-check-alloca.h"
/* { dg-final { scan-assembler-not {stp*t*r*\.d\t\$r0,\$r3,4088} } } */
/* Alloca of 0 should emit no probes, boundary condition. */