Commit 61be2a1c by Richard Sandiford Committed by Richard Sandiford

builtins.c (expand_movstr): Fix endp == 1 adjustment after last commit.

gcc/
	* builtins.c (expand_movstr): Fix endp == 1 adjustment after
	last commit.

From-SVN: r171397
parent a881aaa7
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> 2011-03-24 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48271 PR tree-optimization/48271
......
...@@ -3655,7 +3655,6 @@ static rtx ...@@ -3655,7 +3655,6 @@ static rtx
expand_movstr (tree dest, tree src, rtx target, int endp) expand_movstr (tree dest, tree src, rtx target, int endp)
{ {
struct expand_operand ops[3]; struct expand_operand ops[3];
rtx end;
rtx dest_mem; rtx dest_mem;
rtx src_mem; rtx src_mem;
...@@ -3683,7 +3682,7 @@ expand_movstr (tree dest, tree src, rtx target, int endp) ...@@ -3683,7 +3682,7 @@ expand_movstr (tree dest, tree src, rtx target, int endp)
adjust it. */ adjust it. */
if (endp == 1) 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)); emit_move_insn (target, force_operand (tem, NULL_RTX));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment