Commit 66e6b990 by Martin Jambor Committed by Martin Jambor

re PR lto/57084 (483. xalancbmk run fails with -O2 -flto for i686)

2013-05-09  Martin Jambor  <mjambor@suse.cz>

	PR lto/57084
	* gimple-fold.c (canonicalize_constructor_val): Call
	cgraph_get_create_real_symbol_node instead of cgraph_get_create_node.

From-SVN: r198743
parent 64cfa6c0
2013-05-09 Martin Jambor <mjambor@suse.cz>
PR lto/57084
* gimple-fold.c (canonicalize_constructor_val): Call
cgraph_get_create_real_symbol_node instead of cgraph_get_create_node.
2013-05-09 Jan Hubicka <jh@suse.cz> 2013-05-09 Jan Hubicka <jh@suse.cz>
Richard Biener <rguenther@suse.de> Richard Biener <rguenther@suse.de>
......
...@@ -178,7 +178,7 @@ canonicalize_constructor_val (tree cval, tree from_decl) ...@@ -178,7 +178,7 @@ canonicalize_constructor_val (tree cval, tree from_decl)
/* Make sure we create a cgraph node for functions we'll reference. /* Make sure we create a cgraph node for functions we'll reference.
They can be non-existent if the reference comes from an entry They can be non-existent if the reference comes from an entry
of an external vtable for example. */ of an external vtable for example. */
cgraph_get_create_node (base); cgraph_get_create_real_symbol_node (base);
} }
/* Fixup types in global initializers. */ /* Fixup types in global initializers. */
if (TREE_TYPE (TREE_TYPE (cval)) != TREE_TYPE (TREE_OPERAND (cval, 0))) if (TREE_TYPE (TREE_TYPE (cval)) != TREE_TYPE (TREE_OPERAND (cval, 0)))
......
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