r198917 - in /trunk/gcc: ChangeLog lto-symtab.c...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Wed May 15 08:09:00 GMT 2013


Author: hubicka
Date: Wed May 15 08:09:26 2013
New Revision: 198917

URL: http://gcc.gnu.org/viewcvs?rev=198917&root=gcc&view=rev
Log:

	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.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/attr-weakref-1_0.c
    trunk/gcc/testsuite/gcc.dg/lto/attr-weakref-1_1.c
    trunk/gcc/testsuite/gcc.dg/lto/attr-weakref-1_2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-symtab.c
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto-partition.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/20070621-1.C
    trunk/gcc/varpool.c



More information about the Gcc-cvs mailing list