From 97aba8e901b999e49a988ace67dfa8c06ba364ac Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Fri, 23 Aug 2013 14:31:06 +0000 Subject: [PATCH] re PR rtl-optimization/58220 (Many new failures for SH after rev. 201833) 2013-08-23 Kaz Kojima PR rtl-optimization/58220 PR regression/58221 * final.c (reemit_insn_block_notes): Use NEXT_INSN to handle SEQUENCE insns properly. From-SVN: r201941 --- gcc/ChangeLog | 7 +++++++ gcc/final.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29a30ee2d93..07d70ee67cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-08-23 Kaz Kojima + + PR rtl-optimization/58220 + PR regression/58221 + * final.c (reemit_insn_block_notes): Use NEXT_INSN to + handle SEQUENCE insns properly. + 2013-08-23 Gabriel Dos Reis * pretty-print.h (pp_newline_and_flush): Declare. Remove macro diff --git a/gcc/final.c b/gcc/final.c index 4eaae0f2bc3..d1c8d7c77fb 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1650,7 +1650,7 @@ reemit_insn_block_notes (void) rtx insn, note; insn = get_insns (); - for (; insn; insn = next_insn (insn)) + for (; insn; insn = NEXT_INSN (insn)) { tree this_block;