This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68986] [5/6 Regression] internal compiler error: Segmentation fault
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jan 2016 23:14:19 +0000
- Subject: [Bug target/68986] [5/6 Regression] internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-68986-4 at http dot gcc dot gnu dot org/bugzilla/>
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.