aarch64: add -fno-stack-protector to tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / stack-check-prologue-2.c
blobb37f62cad273338045f0bdebb174348931677a74
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16 -fno-stack-protector" } */
3 /* { dg-require-effective-target supports_stack_clash_protection } */
5 #define SIZE 2 * 1024
6 #include "stack-check-prologue.h"
8 /* { dg-final { scan-assembler-times {str\s+xzr,} 0 } } */
10 /* SIZE is smaller than guard-size - 1Kb so no probe expected. */