summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-strlen.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-05 09:19:52 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-05 09:19:52 +0000
commit8352501aa3e07ac4b24865da8decdb71767b76ac (patch)
tree4762bf8e2e5ebe8d2e4d03c1ff1717f52d7708aa /gcc/tree-ssa-strlen.c
parenta2f24114afc3c3bf184e54d39b8a3096897dc085 (diff)
downloadgcc-8352501aa3e07ac4b24865da8decdb71767b76ac.tar.gz
2011-10-05 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 179537 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@179539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
-rw-r--r--gcc/tree-ssa-strlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c
index 71cefaaabc8..b2ee2f96f44 100644
--- a/gcc/tree-ssa-strlen.c
+++ b/gcc/tree-ssa-strlen.c
@@ -1297,7 +1297,7 @@ handle_builtin_memcpy (enum built_in_function bcode, gimple_stmt_iterator *gsi)
if (si != NULL)
newlen = si->length;
else
- newlen = build_int_cst (TREE_TYPE (len), ~idx);
+ newlen = build_int_cst (size_type_node, ~idx);
oldlen = NULL_TREE;
if (olddsi != NULL)
{