2011-06-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 2011 08:52:33 +0000 (08:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 2011 08:52:33 +0000 (08:52 +0000)
commited61b9099c0eda00fc19eaf1b3da3bd008a4c158
tree076077eb59e88f362654a8c0a17e201cef22c8d7
parentff3c83b573655db50a75d59696ab4a8e7d3819ec
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174519 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto-streamer.c
gcc/lto/ChangeLog
gcc/lto/lto-lang.c
gcc/tree.c