gcc/
* builtins.c (expand_movstr): Fix endp == 1 adjustment after
last commit.
From-SVN: r171397
+2011-03-24 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * builtins.c (expand_movstr): Fix endp == 1 adjustment after
+ last commit.
+
2011-03-24 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48271
expand_movstr (tree dest, tree src, rtx target, int endp)
{
struct expand_operand ops[3];
- rtx end;
rtx dest_mem;
rtx src_mem;
adjust it. */
if (endp == 1)
{
- rtx tem = plus_constant (gen_lowpart (GET_MODE (target), end), 1);
+ rtx tem = plus_constant (gen_lowpart (GET_MODE (target), target), 1);
emit_move_insn (target, force_operand (tem, NULL_RTX));
}
}