aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-16 04:39:52 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-16 04:39:52 +0000
commit21204d3437afb26b4925c388498ba844cc5e9787 (patch)
tree9f1e32dcb6ee61b0b40d777e706ee53e82c17df2 /gcc/function.c
parentafbadaa70142eb2bd4aa91103d236c3b5b59945d (diff)
downloadgcc-21204d3437afb26b4925c388498ba844cc5e9787.zip
gcc-21204d3437afb26b4925c388498ba844cc5e9787.tar.gz
gcc-21204d3437afb26b4925c388498ba844cc5e9787.tar.bz2
function.c (identify_blocks): Don't shadow a variable in an outer scope.
* function.c (identify_blocks): Don't shadow a variable in an outer scope. * integrate.c (integrate_decl_tree): Don't use pushlevel, pushdecl, or poplevel to build up the new BLOCK tree. (expand_inline_function): Likewise. (integrate_parm_decls): Likewise. From-SVN: r29453
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c
index a6c9679..81a1ef1 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5421,11 +5421,11 @@ identify_blocks (block, insns)
{
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_BEG)
{
- tree block;
+ tree b;
- block = block_vector[current_block_number++];
- NOTE_BLOCK (insn) = block;
- block_stack[depth++] = block;
+ b = block_vector[current_block_number++];
+ NOTE_BLOCK (insn) = b;
+ block_stack[depth++] = b;
}
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END)
NOTE_BLOCK (insn) = block_stack[--depth];