aarch64: Add codegen support for AdvSIMD faminmax
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / stack-clash-3.c
blob12a2d34cacf73f18a55a6582c6d7d7495a24a09d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=z900 -fstack-clash-protection -mbackchain" } */
4 extern void bar (char *);
6 void
7 foo ()
9 char * mem = __builtin_alloca (20000);
10 bar (mem);
13 /* For alloca a common code routine emits the probes. Make sure the
14 "probe_stack" expander is used in that case. We want to use mem
15 compares instead of stores. */
16 /* { dg-final { scan-assembler-times "cg\t" 5 { target s390_zarch } } } */
17 /* { dg-final { scan-assembler-times "c\t" 5 { target { ! s390_zarch } } } } */