]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/58220 (Many new failures for SH after rev. 201833)
authorKaz Kojima <kkojima@gcc.gnu.org>
Fri, 23 Aug 2013 14:31:06 +0000 (14:31 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Fri, 23 Aug 2013 14:31:06 +0000 (14:31 +0000)
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.

From-SVN: r201941

gcc/ChangeLog
gcc/final.c

index 29a30ee2d933efe6f8172bf3901c18719cfd0592..07d70ee67cf55a9b2c108e40b8b299e1bb0896b1 100644 (file)
@@ -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
index 4eaae0f2bc3a62f47fa428d88d28b40e6071c9a6..d1c8d7c77fb82c3960094ea68ee6ee810422442f 100644 (file)
@@ -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;