https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- For func_40 the new ix86_find_max_used_stack_alignment finds stack_alignment = 256. The only access with 256 bit alignment in func_40 is: 101: [`g_1679']=xmm0:V2DI 103: [const(`g_1679'+0x10)]=xmm0:V2DI 105: [const(`g_1679'+0x20)]=xmm0:V2DI 107: [const(`g_1679'+0x30)]=xmm0:V2DI which doesn't refer to stack slot at all. HJ, can you please look at this PR?