https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WONTFIX --- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > And for what it's worth, 32-bit Solaris/SPARC's setjmp isn't saving any of > the caller's input or local registers either, so it's not glibc-specific. Again you're wrong, the call-saved registers are properly preserved if you don't clobber the stack pointer, just write a small test or simply tweak yours.