c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.

* c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
	* ch/decl.c, f/com.c, java/decl.c: Likewise.

From-SVN: r40010
This commit is contained in:
Richard Kenner 2001-02-23 20:38:58 +00:00 committed by Richard Kenner
parent e82a84c471
commit 9b58f73986
8 changed files with 29 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
* varasm.c (output_constant): Recompute CODE after lang-specific fn.
2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>

View File

@ -1260,6 +1260,10 @@ set_block (block)
register tree block;
{
current_binding_level->this_block = block;
current_binding_level->names = chainon (current_binding_level->names,
BLOCK_VARS (block));
current_binding_level->blocks = chainon (current_binding_level->blocks,
BLOCK_SUBBLOCKS (block));
}
void

View File

@ -1,3 +1,7 @@
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (CHILL.install-common): Depend on `installdirs'.

View File

@ -3016,6 +3016,9 @@ set_block (block)
register tree block;
{
current_scope->this_block = block;
current_scope->decls = chainon (current_scope->decls, BLOCK_VARS (block));
current_scope->blocks = chainon (current_scope->blocks,
BLOCK_SUBBLOCKS (block));
}
/* Record a decl-node X as belonging to the current lexical scope.

View File

@ -1,3 +1,7 @@
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* com.c (set_block): Set NAMES and BLOCKS from BLOCK.
2001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
* version.c, root.texi: Update GCC version number to 3.1. Update

View File

@ -15174,6 +15174,10 @@ set_block (block)
register tree block;
{
current_binding_level->this_block = block;
current_binding_level->names = chainon (current_binding_level->names,
BLOCK_VARS (block));
current_binding_level->blocks = chainon (current_binding_level->blocks,
BLOCK_SUBBLOCKS (block));
}
/* ~~gcc/tree.h *should* declare this, because toplev.c references it. */

View File

@ -1,3 +1,7 @@
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
2001-02-20 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (check_inner_class_access): Moved declaration of local

View File

@ -1545,6 +1545,10 @@ set_block (block)
register tree block;
{
current_binding_level->this_block = block;
current_binding_level->names = chainon (current_binding_level->names,
BLOCK_VARS (block));
current_binding_level->blocks = chainon (current_binding_level->blocks,
BLOCK_SUBBLOCKS (block));
}
/* integrate_decl_tree calls this function. */