Hi,
Thanks for fixing this. I just checked glibc, which implements
__sigsetjmp as:
# define sigsetjmp(env, savemask) __sigsetjmp (env, savemask)
So I would think this is fine. I leave the ack to the Jakub, Richard et
al, of course.
Thanks,
Jørgen
On 2025-04-22 10:33, Rainer Orth wrote:
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.
Ok for trunk and the gcc-15 branch?
Rainer