r150262 - in /branches/lto/gcc: ChangeLog.lto l...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Thu Jul 30 16:24:00 GMT 2009


Author: rguenth
Date: Thu Jul 30 16:24:05 2009
New Revision: 150262

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150262
Log:
2009-07-30  Richard Guenther  <rguenther@suse.de>

	PR lto/40903
	* lto-symtab.c (lto_symtab_compatible): Only warn for mismatched
	types.
	(lto_symtab_merge_decl): For decls we cannot merge chain them
	appropriately in the symtab entry.
	(lto_symtab_prevailing_decl): Return a matching entry from the
	symtab chain.
	* lto.c (read_cgraph_and_symbols): After fixing up decls choose
	the largest decl for output and free TREE_CHAIN for further
	use.

	* gcc.dg/lto/20090729_0.c: New testcase.
	* gcc.dg/lto/20090729_1.c: Likewise.

Added:
    branches/lto/gcc/testsuite/gcc.dg/lto/20090729_0.c
    branches/lto/gcc/testsuite/gcc.dg/lto/20090729_1.c
Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/lto-symtab.c
    branches/lto/gcc/lto/ChangeLog
    branches/lto/gcc/lto/lto.c



More information about the Gcc-cvs mailing list