OSDN Git Service

(combine_instructions): Fix typo on test of basic block number.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 1993 21:58:31 +0000 (21:58 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 1993 21:58:31 +0000 (21:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5134 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/combine.c

index ffc92f8..8abf590 100644 (file)
@@ -537,7 +537,7 @@ combine_instructions (f, nregs)
       next = 0;
 
       /* If INSN starts a new basic block, update our basic block number.  */
-      if (this_basic_block < n_basic_blocks + 1
+      if (this_basic_block + 1 < n_basic_blocks
          && basic_block_head[this_basic_block + 1] == insn)
        this_basic_block++;