http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49007
--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-05-23
18:00:56 UTC ---
> This code fails to handle the case where there already is a use.
This should have been fixed in 4.5 and above:
PR rtl-optimization/40086
* reorg.c (relax_delay_slots): When looking for redundant insn at
the branch target, use next_real_insn, not next_active_insn.
