https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77962
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org --- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> --- Created attachment 39801 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39801&action=edit preliminary patch This patch fixes the i386 problem (or, works around it). On 32-bit i386 the split prologue has to be created before the regular prologue as far as I see. Testing now if that works on powerpc; if not, we can always also disallow separate shrink-wrapping functions with split stack (maybe not a bad idea anyway).