]> gcc.gnu.org Git - gcc.git/commit - gcc/lto/ChangeLog
re PR c++/57038 (Latest libreoffice compilation fails with enabled LTO)
authorJan Hubicka <jh@suse.cz>
Wed, 15 May 2013 08:09:26 +0000 (10:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 15 May 2013 08:09:26 +0000 (08:09 +0000)
commit2d6e460353fd7ad3160faaa96a0174042c6c28f1
treeb5bf9542ac17e96b9f1eab08c77364e8adba45c3
parent83f44b399712cc22564013b42bb6976ef60895c4
re PR c++/57038 (Latest libreoffice compilation fails with enabled LTO)

PR lto/57038
PR lto/47375
* lto-symtab.c (lto_symtab_symbol_p): Add external symbol; weakrefs are
not external.
(lto_symtab_merge_decls): Fix thinko when dealing with non-lto_symtab decls.
(lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p.
(lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p.
* varpool.c (dump_varpool_node): Dump more flags.

* lto-partition.c (get_symbol_class): Fix weakrefs.
(lto_balanced_map): Fix weakrefs.
(privatize_symbol_name): Remove unnecesary label.
(rename_statics): Handle weakrefs as statics.

* gcc.dg/lto/attr-weakref-1_0.c: New testcase.
* gcc.dg/lto/attr-weakref-1_1.c: New testcase.
* gcc.dg/lto/attr-weakref-1_2.c: New testcase.

From-SVN: r198917
gcc/ChangeLog
gcc/lto-symtab.c
gcc/lto/ChangeLog
gcc/lto/lto-partition.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/20070621-1.C
gcc/testsuite/gcc.dg/lto/attr-weakref-1_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/attr-weakref-1_1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/attr-weakref-1_2.c [new file with mode: 0644]
gcc/varpool.c
This page took 0.064784 seconds and 5 git commands to generate.