OSDN Git Service

* flow.c (find_basic_blocks): Fix end case bug.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jun 1997 21:30:55 +0000 (21:30 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jun 1997 21:30:55 +0000 (21:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14257 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/flow.c

index 190cfc2..0689d60 100644 (file)
@@ -608,7 +608,7 @@ find_basic_blocks (f, nonlocal_label_list)
                     to as live.  */
 
                  for (insn = basic_block_head[i];
-                      insn != basic_block_end[i];
+                      insn != NEXT_INSN (basic_block_end[i]);
                       insn = NEXT_INSN (insn))
                    {
                      if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')