This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Feb 2017 14:58:07 +0000
- Subject: [Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
- Auto-submitted: auto-generated
- References: <bug-79494-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79494
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40782
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40782&action=edit
gcc7-pr79494.patch
Untested fix. The problem is that __morestack call is before the prologue, but
the middle-end thinks it can do non-local gotos and then we have abnormal edges
from both __morestack (before prologue) and the nested function call (after
prologue) and CFI on those two edges can't match.