[Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 20 17:48:00 GMT 2019


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

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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45780
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45780&action=edit
gcc9-pr89403.patch

Untested fix.  The problem is that maybe_clone_body really doesn't expect to be
called multiple times on the same function.


More information about the Gcc-bugs mailing list