Commit 0237949a by Richard Guenther Committed by Richard Biener

lto-symtab.c (lto_symtab_merge_decls_1): Properly merge all of the chain.

2012-09-25  Richard Guenther  <rguenther@suse.de>

	* lto-symtab.c (lto_symtab_merge_decls_1): Properly merge
	all of the chain.

From-SVN: r191699
parent 222b6846
2012-09-25 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_merge_decls_1): Properly merge
all of the chain.
2012-09-25 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53663
* tree-ssa-sccvn.c (vn_reference_lookup_3): Conditional
native encode/interpret translation on VN_WALKREWRITE.
......
......@@ -566,12 +566,12 @@ lto_symtab_merge_decls_1 (symtab_node first)
/* Merge the chain to the single prevailing decl and diagnose
mismatches. */
lto_symtab_merge_decls_2 (first, diagnosed_p);
lto_symtab_merge_decls_2 (prevailing, diagnosed_p);
if (cgraph_dump_file)
{
fprintf (cgraph_dump_file, "After resolution:\n");
for (e = first; e; e = e->symbol.next_sharing_asm_name)
for (e = prevailing; e; e = e->symbol.next_sharing_asm_name)
dump_symtab_node (cgraph_dump_file, e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment