* builtins.c (expand_builtin_memmove): If fold_builtin_memmove
succeeds, only expand the result.
From-SVN: r89282
+2004-10-19 Richard Hendeson <rth@redhat.com>
+
+ * builtins.c (expand_builtin_memmove): If fold_builtin_memmove
+ succeeds, only expand the result.
+
2004-10-19 Richard Hendeson <rth@redhat.com>
PR middle-end/17885
tree result = fold_builtin_memmove (arglist, type);
if (result)
- expand_expr (result, target, mode, EXPAND_NORMAL);
+ return expand_expr (result, target, mode, EXPAND_NORMAL);
/* If DEST is not a pointer type, call the normal function. */
if (dest_align == 0)