diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-11 11:52:14 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-11 11:52:14 +0000 |
commit | 155586ea9402b003f9d60578eaa2f6e3b9005450 (patch) | |
tree | 3a47548f6f19ca4fff060e58db14e051efa67efb /gcc/expr.c | |
parent | b0a8d6c853de8ebccb8f65ea81aa91b070d13123 (diff) | |
download | gcc-155586ea9402b003f9d60578eaa2f6e3b9005450.tar.gz |
PR middle-end/60556
* expr.c (convert_move): Use emit_store_flag_force instead of
emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th
argument to it.
* gcc.c-torture/compile/pr60556.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index ebf136ed5a3..72e440119e4 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -551,9 +551,9 @@ convert_move (rtx to, rtx from, int unsignedp) if (unsignedp) fill_value = const0_rtx; else - fill_value = emit_store_flag (gen_reg_rtx (word_mode), - LT, lowfrom, const0_rtx, - VOIDmode, 0, -1); + fill_value = emit_store_flag_force (gen_reg_rtx (word_mode), + LT, lowfrom, const0_rtx, + lowpart_mode, 0, -1); /* Fill the remaining words. */ for (i = GET_MODE_SIZE (lowpart_mode) / UNITS_PER_WORD; i < nwords; i++) |