http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40468
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2010-12-22 18:47:05 UTC --- Author: danglin Date: Wed Dec 22 18:46:57 2010 New Revision: 168177 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168177 Log: Backport from mainline: 2010-12-18 John David Anglin <dave.ang...@nrc-cnrc.gc.ca> PR target/46915 * config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead of next_real_insn. Search forward checking for both ASM_INPUT and ASM_OPERANDS asms until exit condition is found. (branch_needs_nop_p): Likewise. (use_skip_p): New function. (output_cbranch): Use use_skip_p. (output_bb, output_bvb): Likewise. 2009-06-25 John David Anglin <dave.ang...@nrc-cnrc.gc.ca> PR target/40468 * pa.c (branch_to_delay_slot_p, branch_needs_nop_p): New functions. (output_cbranch): Use new functions. (output_bb, output_bvb, output_dbra, output_movb): Likewise. Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/config/pa/pa.c