===================================================================
@@ -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;
===================================================================
@@ -1,3 +1,10 @@
+2013-08-23 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ 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 <gdr@integrable-solutions.net>
* pretty-print.h (pp_newline_and_flush): Declare. Remove macro