+2004-07-09 Richard Henderson <rth@redhat.com>
+
+ * builtins.c (expand_builtin_stpcpy): Don't modify len.
+
2004-07-10 Kelley Cook <kcook@gcc.gnu.org>
* flags.h: Delete redundant prototypes that are being generated
return 0;
else
{
- tree dst, src, len;
+ tree dst, src, len, lenp1;
tree narglist;
rtx ret;
target, /*endp=*/2);
dst = TREE_VALUE (arglist);
- len = fold (size_binop (PLUS_EXPR, len, ssize_int (1)));
- narglist = build_tree_list (NULL_TREE, len);
+ lenp1 = size_binop (PLUS_EXPR, len, ssize_int (1));
+ narglist = build_tree_list (NULL_TREE, lenp1);
narglist = tree_cons (NULL_TREE, src, narglist);
narglist = tree_cons (NULL_TREE, dst, narglist);
ret = expand_builtin_mempcpy (narglist, target, mode, /*endp=*/2);