Backport r196750 and r198743 from trunk.
commiteafce0f03f2ac425f60f69d12199ec597bf22139
authorwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 May 2013 19:31:05 +0000 (22 19:31 +0000)
committerwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 May 2013 19:31:05 +0000 (22 19:31 +0000)
tree1b1d10788ba51a83757227deb1e6be66e85b7329
parentb0ff6f34c1ce2d6d3e605e4e27feb758e3bccae7
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
gcc-4_8/gcc/cgraph.c
gcc-4_8/gcc/cgraph.h
gcc-4_8/gcc/cgraphbuild.c
gcc-4_8/gcc/gimple-fold.c
gcc-4_8/gcc/ipa-prop.c