lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): Re-construct BLOCK_VARS.
authorRichard Guenther <rguenther@suse.de>
Fri, 8 Oct 2010 15:21:29 +0000 (15:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Oct 2010 15:21:29 +0000 (15:21 +0000)
commitbd39cb5225a1a8b3a7ac15ef7a50231205a64ff8
treecd4458364349dd314a008566cb2ca44b9b869fc3
parent8686c474f718468adeaf5663f0ad4e0721ef2ab0
lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): Re-construct BLOCK_VARS.

2010-10-08  Richard Guenther  <rguenther@suse.de>

* lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers):
Re-construct BLOCK_VARS.
(lto_input_ts_block_tree_pointers): Do not stream BLOCK_VARS.
* lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise.
* tree.c (free_lang_data_in_block): Remove.
(free_lang_data_in_decl): Do not touch DECL_CONTEXT of non-PARM_DECLs.
Do not touch the BLOCK tree.
* expr.c (expand_expr_real_1): Allow externals.

From-SVN: r165191
gcc/ChangeLog
gcc/expr.c
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/tree.c