relax aarch64 stack-clash tests depedence on alloca.h
authorOlivier Hainque <hainque@adacore.com>
Wed, 8 Jan 2020 15:53:16 +0000 (15:53 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Wed, 8 Jan 2020 15:53:16 +0000 (15:53 +0000)
commit80d803aefb82f336abd3ff421c1a7edcbd24c9ae
tree5b3b78aefaa861da6e4a5e9d2ff4ecd7f0d57c7c
parent3629ff8ad6b73b35f4168df465f47f5a302691e2
relax aarch64 stack-clash tests depedence on alloca.h

2020-01-06  Olivier Hainque  <hainque@adacore.com>
Alexandre Oliva  <oliva@adacore.com>

* gcc.target/aarch64/stack-check-alloca.h: Remove
#include alloca.h. #define alloca __builtin_alloca
instead.
* gcc.target/aarch64/stack-check-alloca-1.c: Add
{ dg-require-effective-target alloca }.
* gcc.target/aarch64/stack-check-alloca-2.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-3.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-4.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-5.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-6.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-7.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-8.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-9.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-10.c: Likewise.

Co-Authored-By: Alexandre Oliva <oliva@adacore.com>
From-SVN: r280010
12 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-1.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-10.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-2.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-3.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-4.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-5.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-6.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-7.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-8.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-9.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca.h