On 4/2/20 4:09 AM, Tobias Burnus wrote: > Interestingly, only those two testcases use the effective-target check: > gcc.dg/analyzer/sigsetjmp-5.c, gcc.dg/analyzer/sigsetjmp-6.c > > Regarding the link test: No header file is included – it just > defines the function ("extern char $funcname();") and calls it. This is the same way configure scripts test for the existence of a library function; the test case is just an arbitrary reference to the named function that will generate an undefined symbol error from the linker if the standard libraries don't provide a definition. > The check fails as "sigsetjmp" does not exist in glibc – > the symbol is "__sigsetjmp" in glibc. I've checked in this followup patch to make it also test for the presence of __sigsetjmp, and verified that the test case now runs and passes on x86_64_linux-gnu. -Sandra