https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Can't be done without an ABI break. But it is just the PIC register, and I'm > still of the view this is a GCC bug. You seem to not be listening to my > arguments and just reciting that "setjmp must save call-saved registers", > which would be nice if it were true, but that's not what actually happens, > and GCC already tries to handle this; it just misses a case on SPARC. OK, let's see it the other way around: how does it work on other architectures? Does GCC save and restore the PIC register or it is preserved through the call to setjmp?