[Bug tree-optimization/47355] [4.6 Regression] ICE: verify_ssa failed with -O2 -fipa-cp-clone

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 20 10:52:00 GMT 2011


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-20 10:45:43 UTC ---
Created attachment 23042
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23042
gcc46-pr47355.patch

Untested fix.  Seems ehcleanup assumes nop is used just in the following phi
and not somewhere else, because it doesn't attempt to rename it.  I'll see with
this patch how much it triggers during bootstraps/regtests.  We can't just
replace the other uses in this case, because it is changed in the loop.



More information about the Gcc-bugs mailing list