diff options
Diffstat (limited to 'gcc/ch/decl.c')
-rw-r--r-- | gcc/ch/decl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ch/decl.c b/gcc/ch/decl.c index 11a05e0..6cdec6c 100644 --- a/gcc/ch/decl.c +++ b/gcc/ch/decl.c @@ -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. |