https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68986
--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #13) > Created attachment 37466 [details] > A patch > > I am testing this. This patch is wrong. After ix86_finalize_stack_realign_flags, there should be no stack alignment changes. We should update stack alignment for __tls_get_addr in ix86_update_stack_boundary. Also there is no need to over-align stack for __tls_get_addr and function with __tls_get_addr call isn't a leaf function.