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.