http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53411
--- Comment #6 from Bernd Schmidt <bernds at gcc dot gnu.org> 2012-08-13 11:07:27 UTC --- If the call to delete_trivially_dead_insns is supposed to eliminate only pre-existing dead insns, then just moving it to the beginning of IRA fixes this bug.