re PR lto/64043 (ICE (segfault) with LTO: in tree_check/tree.h:2758 get_binfo_at_offs...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 15 Dec 2014 22:35:20 +0000 (23:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 15 Dec 2014 22:35:20 +0000 (22:35 +0000)
commit6c36539dcffceaff517f6682c08ea236a4c77e14
tree6d7e7596b4e5e5b1571f88c420ce3de5d2a54ec6
parent2bf7560bd3757dbd0d7ffbe8e61b3eb847cfc5f0
re PR lto/64043 (ICE (segfault) with LTO: in tree_check/tree.h:2758 get_binfo_at_offset/tree.c:11914)

PR lto/64043
* gcc.dg/lto/20110201-1_0.c: New testcase.

* tree-streamer.c (preload_common_nodes): Skip preloading
of main_identifier_node, pid_type and optimization/option nodes.

From-SVN: r218767
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20110201-1_0.c
gcc/tree-streamer.c