From: Richard Kenner Date: Wed, 11 Aug 1993 21:58:31 +0000 (-0400) Subject: (combine_instructions): Fix typo on test of basic block number. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f085c9cdc43fab83a263a175e07f2653b0f1b673;p=gcc.git (combine_instructions): Fix typo on test of basic block number. From-SVN: r5134 --- diff --git a/gcc/combine.c b/gcc/combine.c index ffc92f8c968..8abf590d514 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -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++;