https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77962
--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Thu Oct 13 18:25:15 2016 New Revision: 241135 URL: https://gcc.gnu.org/viewcvs?rev=241135&root=gcc&view=rev Log: Create the *logue in the same order as before (PR77962) PR77962 shows Go failing on 32-bit x86. This happens because the i386 port requires the split stack prologue to be created before the normal prologue, and my previous patch changed it to be the other way around. This patch changes it back. Things will be exactly as before for targets that do not do shrink-wrapping for separate components. For targets that *do* support it, all three prologue/epilogue creation functions will now be called twice for functions that have anything wrapped separately (instead of just the prologue created twice). PR bootstrap/77962 * function.c (thread_prologue_and_epilogue_insns): Call all make_*logue_seq in the same order as traditional. Call them all a second time if shrink_wrapped-separate. Modified: trunk/gcc/ChangeLog trunk/gcc/function.c