[Bug debug/80436] [7 Regression] -fcompare-debug failure

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 19 08:12:00 GMT 2017


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

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 41225
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41225&action=edit
gcc7-pr80436.patch

Untested fix.  Seems debug stmts are generally an exception from loop closed
SSA form, we already have:
if (is_gimple_debug (stmt)) return;
in find_uses_to_rename_stmt and check_loop_closed_ssa_stmt, just not at this
spot.


More information about the Gcc-bugs mailing list