http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54790
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-10-06 13:59:59 UTC --- Author: hubicka Date: Sat Oct 6 13:59:55 2012 New Revision: 192159 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192159 Log: PR lto/54790 * lto.c (resolution_map): New static var. (register_resolution): New function. (lto_register_var_decl_in_symtab): Use it. (read_cgraph_and_symbols): Copy resolutions into the symtab. * lto-streamer.h (lto_symtab_register_decl, lto_symtab_get_resolution, lto_mark_nothrow_fndecl, lto_fixup_nothrow_decls): Remove. * lto-symtab.c (lto_symtab_register_decl): Remove. Modified: trunk/gcc/ChangeLog trunk/gcc/lto-streamer.h trunk/gcc/lto-symtab.c trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c trunk/gcc/testsuite/ChangeLog