Add effective target signal
authorTom de Vries <tom@codesourcery.com>
Sat, 10 Jun 2017 06:59:49 +0000 (06:59 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 10 Jun 2017 06:59:49 +0000 (06:59 +0000)
commit18787c384aba66221a157862c81238b9fea4e13d
treea0b4f44878c6c1825b436f7a2a1d2891828cd657
parent0069a009910c4d8d3d95db6a3760abd0580f4183
Add effective target signal

2017-06-10  Tom de Vries  <tom@codesourcery.com>

* lib/target-supports.exp (check_effective_target_signal): New proc.
* lib/gcc.exp (gcc_target_compile): Remove appending of
-DSIGNAL_SUPPRESS to additional_flags.
* gcc.c-torture/execute/ieee/ieee.exp: Add -DSIGNAL_SUPPRESS to
additional_flags if effective target signal is not supported by the
target.
* gcc.c-torture/execute/20101011-1.c: Same.
* gcc.dg/c99-stdint-1.c: Same.
* gcc.dg/c99-stdint-2.c: Same.
* gcc.dg/c99-stdint-5.c: Same.
* gcc.dg/c99-stdint-6.c: Same.
* gcc.dg/stdint-width-1.c: Same.

* doc/sourcebuild.texi (Effective-Target Keywords, Environment
attributes): Document signal effective target.

From-SVN: r249091
12 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20101011-1.c
gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp
gcc/testsuite/gcc.dg/c99-stdint-1.c
gcc/testsuite/gcc.dg/c99-stdint-2.c
gcc/testsuite/gcc.dg/c99-stdint-5.c
gcc/testsuite/gcc.dg/c99-stdint-6.c
gcc/testsuite/gcc.dg/stdint-width-1.c
gcc/testsuite/lib/gcc.exp
gcc/testsuite/lib/target-supports.exp