https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44928|0 |1 is obsolete| | --- Comment #37 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 44940 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44940&action=edit Proposed patch I think that attached patch is close to final. We can use: + if (SUPPORTS_STACK_ALIGNMENT + && crtl->stack_realign_processed) to avoid unnecessary updates before expand_stack_alignment is called.