[Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 20 14:58:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list