diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-04-22 11:16:09 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-04-22 11:16:09 +0200 |
commit | ab41f146cf077b89cff8d86e2f698ed0fabd12d9 (patch) | |
tree | 8b82748ca8fe6c8ad9973f737f99eb8d7b02af89 /gcc/fortran/parse.h | |
parent | 241157eb0858b3c7f7f0750023a9350c939fca3b (diff) | |
download | gcc-ab41f146cf077b89cff8d86e2f698ed0fabd12d9.zip gcc-ab41f146cf077b89cff8d86e2f698ed0fabd12d9.tar.gz gcc-ab41f146cf077b89cff8d86e2f698ed0fabd12d9.tar.bz2 |
testsuite: Use sigsetjmp in gcc.misc-tests/gcov-31.c
The gcc.misc-tests/gcov-31.c test FAILs on Solaris and Darwin:
FAIL: gcc.misc-tests/gcov-31.c (test for excess errors)
Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.misc-tests/gcov-31.c:23:5:
error: implicit declaration of function '__sigsetjmp'; did you mean
'sigsetjmp'? [-Wimplicit-function-declaration]
__sigsetjmp is a Linux/glibc implementation detail. Other tests just
use sigsetjmp directly, so this patch follows suit.
Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11,
x86_64-pc-linux-gnu, and x86_64-apple-darwin24.4.0.
2025-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* gcc.misc-tests/gcov-31.c (run_pending_traps): Use sigsetjmp
instead of __sigsetjmp.
Diffstat (limited to 'gcc/fortran/parse.h')
0 files changed, 0 insertions, 0 deletions