https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45381&action=edit gcc9-pr88331.patch I don't see how that could ever work when assign_stack_local_1 is called from anywhere but the expand pass, one can't emit random code somewhere blindly otherwise (e.g. from the RA). I think for now it is best to revert to previous behavior when it isn't called during expansion, and if really needed, we can figure out a way for GCC10 how to tell the RA it should emit the alignment itself.