http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49007
--- Comment #22 from John David Anglin <danglin at gcc dot gnu.org> 2011-05-23 22:31:59 UTC --- Author: danglin Date: Mon May 23 22:31:55 2011 New Revision: 174090 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174090 Log: PR rtl-optimization/49007 Backport from mainline: 2009-11-30 Hans-Peter Nilsson <h...@axis.com> 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. Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/reorg.c