Add effective target signal

Programming / Compilers / GCC - vries [138bc75d-0d04-0410-961f-82ee72b054a4] - 10 June 2017 02:59 EDT

2017-06-10 Tom de Vries

- 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.

d2a1bdb Add effective target signal
gcc/ChangeLog | 5 +++++
gcc/doc/sourcebuild.texi | 3 +++
gcc/testsuite/ChangeLog | 15 +++++++++++++++
gcc/testsuite/gcc.c-torture/execute/20101011-1.c | 1 +
gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp | 4 ++++
gcc/testsuite/gcc.dg/c99-stdint-1.c | 1 +
gcc/testsuite/gcc.dg/c99-stdint-2.c | 2 ++
gcc/testsuite/gcc.dg/c99-stdint-5.c | 1 +
gcc/testsuite/gcc.dg/c99-stdint-6.c | 1 +
gcc/testsuite/gcc.dg/stdint-width-1.c | 1 +
gcc/testsuite/lib/gcc.exp | 4 ----
gcc/testsuite/lib/target-supports.exp | 9 +++++++++
12 files changed, 43 insertions(+), 4 deletions(-)

Upstream: gcc.gnu.org


  • Share