This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54790] [4.8 Regression] Missing optimization with LTO
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 13:59:59 +0000
- Subject: [Bug lto/54790] [4.8 Regression] Missing optimization with LTO
- Auto-submitted: auto-generated
- References: <bug-54790-4@http.gcc.gnu.org/bugzilla/>
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