tree.c (free_lang_data): Do not reset boolean_type_node nor char_type_node.
authorRichard Guenther <rguenther@suse.de>
Wed, 1 Jun 2011 08:52:33 +0000 (08:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Jun 2011 08:52:33 +0000 (08:52 +0000)
commit6807da97b7a1d22a82a48844ccacfbdfcb983ada
tree076077eb59e88f362654a8c0a17e201cef22c8d7
parent3dca2ab7a79ef2e96d06b61f7f5189b46910691b
tree.c (free_lang_data): Do not reset boolean_type_node nor char_type_node.

2011-06-01  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data): Do not reset boolean_type_node nor
char_type_node.
* lto-streamer.c (lto_record_common_node): Take node pointer,
do not register types.
(lto_preload_common_nodes): Explicitly skip preloading nodes
that differ between frontends.

lto/
* lto-lang.c (lto_register_canonical_types): New function.
(lto_init): Register common nodes with the canonical type machinery.
Do not play tricks with char_type_node.

From-SVN: r174519
gcc/ChangeLog
gcc/lto-streamer.c
gcc/lto/ChangeLog
gcc/lto/lto-lang.c
gcc/tree.c