This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]