https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90811
--- Comment #17 from Kito Cheng <kito at gcc dot gnu.org> --- Created attachment 47920 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47920&action=edit update-local-align-pass.patch Hi Jakub: I got your point, and I agree with your point, estimate_stack_frame_size not the right place to update alignment. I write a patch to add a new pass to update the data alignment, executed at begging of pass_all_early_optimizations, PoC patch attached, it's not fully tested yet, how do you think about this approach? Thanks :)