https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104989

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 52653
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52653&action=edit
gcc12-pr104989.patch

IMHO the flags |= ECF_NORETURN; change is too problematic, because for
noreturn calls we rely on the containing bb to not have fallthru edges and the
call being at the end of the bb.  This patch arranges that assertion not to
trigger either, but throws away the whole call insn sequence.

Reply via email to