[testsuite] Add dg-require-stack-check
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 6 Jul 2017 08:12:33 +0000 (08:12 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Thu, 6 Jul 2017 08:12:33 +0000 (10:12 +0200)
commit9e00a39737cd6f8b30ce4bde36c6da11c415ef93
tree0bb7f135399c6e956487f07750ac13d23f8f4e4d
parentb32d067bbcaac072d31d8e5af6f367dc289c48f0
[testsuite] Add dg-require-stack-check

2017-07-06  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* doc/sourcebuild.texi (Test Directives, Variants of
dg-require-support): Add documentation for dg-require-stack-check.

gcc/testsuite/
* lib/target-supports-dg.exp (dg-require-stack-check): New.
* lib/target-supports.exp (check_stack_check_available): New.
* g++.dg/other/i386-9.C: Add dg-require-stack-check.
* gcc.c-torture/compile/stack-check-1.c: Likewise.
* gcc.dg/graphite/run-id-pr47653.c: Likewise.
* gcc.dg/pr47443.c: Likewise.
* gcc.dg/pr48134.c: Likewise.
* gcc.dg/pr70017.c: Likewise.
* gcc.target/aarch64/stack-checking.c: Likewise.
* gcc.target/arm/stack-checking.c: Likewise.
* gcc.target/i386/pr48723.c: Likewise.
* gcc.target/i386/pr55672.c: Likewise.
* gcc.target/i386/pr67265-2.c: Likewise.
* gcc.target/i386/pr67265.c: Likewise.
* gnat.dg/opt49.adb: Likewise.
* gnat.dg/stack_check1.adb: Likewise.
* gnat.dg/stack_check2.adb: Likewise.
* gnat.dg/stack_check3.adb: Likewise.

From-SVN: r250013
21 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/i386-9.C
gcc/testsuite/gcc.c-torture/compile/stack-check-1.c
gcc/testsuite/gcc.dg/graphite/run-id-pr47653.c
gcc/testsuite/gcc.dg/pr47443.c
gcc/testsuite/gcc.dg/pr48134.c
gcc/testsuite/gcc.dg/pr70017.c
gcc/testsuite/gcc.target/aarch64/stack-checking.c
gcc/testsuite/gcc.target/arm/stack-checking.c
gcc/testsuite/gcc.target/i386/pr48723.c
gcc/testsuite/gcc.target/i386/pr55672.c
gcc/testsuite/gcc.target/i386/pr67265-2.c
gcc/testsuite/gcc.target/i386/pr67265.c
gcc/testsuite/gnat.dg/opt49.adb
gcc/testsuite/gnat.dg/stack_check1.adb
gcc/testsuite/gnat.dg/stack_check2.adb
gcc/testsuite/gnat.dg/stack_check3.adb
gcc/testsuite/lib/target-supports-dg.exp
gcc/testsuite/lib/target-supports.exp