summaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-16 01:47:58 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-16 01:47:58 +0000
commit8370b483d36930e46d3ec5a083702386af597654 (patch)
treec3abfe3ff9a4df7e1545b739c0a7409c09cd6b2d /gcc/gimple-fold.c
parent8f7323c5912412fdde781a7667fbf60046592218 (diff)
parent6ca03b4e86cec2ebd2b61425871730a8e0cd5df9 (diff)
downloadgcc-8370b483d36930e46d3ec5a083702386af597654.tar.gz
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 16ab93b1850..ffaa765aa5e 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -28,6 +28,8 @@ along with GCC; see the file COPYING3. If not see
#include "dumpfile.h"
#include "bitmap.h"
#include "gimple.h"
+#include "gimplify.h"
+#include "gimple-iterator.h"
#include "gimple-ssa.h"
#include "tree-ssanames.h"
#include "tree-into-ssa.h"
@@ -196,7 +198,7 @@ canonicalize_constructor_val (tree cval, tree from_decl)
/* Make sure we create a cgraph node for functions we'll reference.
They can be non-existent if the reference comes from an entry
of an external vtable for example. */
- cgraph_get_create_real_symbol_node (base);
+ cgraph_get_create_node (base);
}
/* Fixup types in global initializers. */
if (TREE_TYPE (TREE_TYPE (cval)) != TREE_TYPE (TREE_OPERAND (cval, 0)))