Commit 13092f61 by Richard Biener Committed by Richard Biener

re PR lto/69337 (Internal compiler error fortran c lto)

2016-01-18  Richard Biener  <rguenther@suse.de>

	PR lto/69337
	* lto-symtab.c (lto_symtab_merge): Return early for mismatched
	function vs. variable.

From-SVN: r232505
parent 9c5ad80e
2016-01-18 Richard Biener <rguenther@suse.de>
PR lto/69337
* lto-symtab.c (lto_symtab_merge): Return early for mismatched
function vs. variable.
2016-01-12 Richard Biener <rguenther@suse.de>
PR lto/69077
......
......@@ -303,6 +303,9 @@ lto_symtab_merge (symtab_node *prevailing, symtab_node *entry)
if (prevailing_decl == decl)
return true;
if (TREE_CODE (decl) != TREE_CODE (prevailing_decl))
return false;
/* Merge decl state in both directions, we may still end up using
the new decl. */
TREE_ADDRESSABLE (prevailing_decl) |= TREE_ADDRESSABLE (decl);
......
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