diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-24 15:13:45 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-24 15:13:45 +0000 |
commit | 45c0b11876b56c2a46d1d9a13bb6e0ab5ec9326f (patch) | |
tree | ba6c44ef8a299d51b3885983a47a50d28dfc2f94 /gcc/builtins.c | |
parent | 07eeb4686cf207d4dafc913a9cccd4d6a9208849 (diff) | |
download | gcc-45c0b11876b56c2a46d1d9a13bb6e0ab5ec9326f.tar.gz |
gcc/
* builtins.c (expand_movstr): Fix endp == 1 adjustment after
last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171397 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index f2b5130b837..1b93f3c0c9a 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -3655,7 +3655,6 @@ static rtx expand_movstr (tree dest, tree src, rtx target, int endp) { struct expand_operand ops[3]; - rtx end; rtx dest_mem; rtx src_mem; @@ -3683,7 +3682,7 @@ expand_movstr (tree dest, tree src, rtx target, int endp) 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)); } } |