http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59519
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 31562 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31562&action=edit gcc49-pr59519.patch I wonder if this isn't just a checking issue, the two PHI nodes created in *new_exit_bb have the same argument, so I think it is just fine if the two PHI results are used interchangeably, later optimization passes should hopefully coalesce them into a single IV.