Commit 7c5425fa by Kito Cheng Committed by Richard Sandiford

builtins.c (expand_movstr): Check movstr expand done or fail.

2014-01-19  Kito Cheng  <kito@0xlab.org>

	* gcc/builtins.c (expand_movstr): Check movstr expand done or fail.

From-SVN: r206777
parent 167492b9
2014-01-19 Kito Cheng <kito@0xlab.org>
* gcc/builtins.c (expand_movstr): Check movstr expand done or fail.
2013-12-31 Chung-Lin Tang <cltang@codesourcery.com> 2013-12-31 Chung-Lin Tang <cltang@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com> Sandra Loosemore <sandra@codesourcery.com>
......
...@@ -3392,7 +3392,8 @@ expand_movstr (tree dest, tree src, rtx target, int endp) ...@@ -3392,7 +3392,8 @@ expand_movstr (tree dest, tree src, rtx target, int endp)
create_output_operand (&ops[0], endp ? target : NULL_RTX, Pmode); create_output_operand (&ops[0], endp ? target : NULL_RTX, Pmode);
create_fixed_operand (&ops[1], dest_mem); create_fixed_operand (&ops[1], dest_mem);
create_fixed_operand (&ops[2], src_mem); create_fixed_operand (&ops[2], src_mem);
expand_insn (CODE_FOR_movstr, 3, ops); if (!maybe_expand_insn (CODE_FOR_movstr, 3, ops))
return NULL_RTX;
if (endp && target != const0_rtx) if (endp && target != const0_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