[Bug tree-optimization/60844] [4.9/4.10 Regression] ICE in reassoc_stmt_dominates_stmt_p

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 15 12:17:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60844

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-04-15
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32601
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32601&action=edit
gcc49-pr60844.patch

Untested fix.
The problem is that gsi_remove performed during reassoc added some debug stmt
and that debug stmt didn't get gimple_uid set, which the reassoc code relies
on.



More information about the Gcc-bugs mailing list