> Eric is probably most familiar with this, but can you make sure to bootstrap > and test this on a SJLJ EH target? I'm not sure --enable-sjlj-exceptions > is well tested anywhere but on targets not supporting DWARF EH and the > configury is a bit odd suggesting the option is mostly ignored ...
This is a specific circuitry for __builtln_setjmp so it is *not* exercised by the SJLJ exception scheme. It used to be exercised by the GNAT bootstrap, but that's no longer the case either. I think that the fix is sensible, assuming that it passes the C testsuite. -- Eric Botcazou