From: Jeffrey A Law Date: Mon, 18 May 1998 21:39:43 +0000 (+0000) Subject: function.c (identify_blocks): Fix thinko when setting the block number for NOTE_INSN_... X-Git-Tag: prereleases/egcs-1.1-prerelease~1217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7fdfd49ac2595d8b23d20395b58a56c15959b14;p=thirdparty%2Fgcc.git function.c (identify_blocks): Fix thinko when setting the block number for NOTE_INSN_BLOCK_END. * function.c (identify_blocks): Fix thinko when setting the block number for NOTE_INSN_BLOCK_END. From-SVN: r19857 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da01591b9caf..6aa4a8464546 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * config/v850/lib1funcs.asm: Add .text pseudo op to start of diff --git a/gcc/function.c b/gcc/function.c index 459d55ff1bfc..d2cd64eb092e 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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]; } }