Backport r196750 and r198743 from trunk.
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.
r196750 | hubicka | 2013-03-17 08:43:13 -0700 (Sun, 17 Mar 2013) | 7 lines
* cgraph.h (cgraph_get_create_real_symbol_node): Declare.
* cgraph.c (cgraph_get_create_real_symbol_node): New function.
* cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead
of cgraph_get_create_node.
* ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@199216 138bc75d-0d04-0410-961f-82ee72b054a4