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.