function.c (identify_blocks): Fix thinko when setting the block number for NOTE_INSN_...
authorJeffrey A Law <law@cygnus.com>
Mon, 18 May 1998 21:39:43 +0000 (21:39 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 18 May 1998 21:39:43 +0000 (15:39 -0600)
        * function.c (identify_blocks): Fix thinko when setting the
        block number for NOTE_INSN_BLOCK_END.

From-SVN: r19857

gcc/ChangeLog
gcc/function.c

index da01591..6aa4a84 100644 (file)
@@ -1,3 +1,8 @@
+Mon May 18 22:37:33 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * function.c (identify_blocks): Fix thinko when setting the
+       block number for NOTE_INSN_BLOCK_END.
+
 Mon May 18 15:30:42 1998  Nick Clifton  <nickc@cygnus.com>
 
        * config/v850/lib1funcs.asm: Add .text pseudo op to start of
index 459d55f..d2cd64e 100644 (file)
@@ -5133,8 +5133,8 @@ identify_blocks (block, insns)
          }
        if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END)
          {
-           current_block_number = block_stack[--depth];
            NOTE_BLOCK_NUMBER (insn) = current_block_number;
+           current_block_number = block_stack[--depth];
          }
       }