From 074f377845ab1bdbdcc3a6723030d8dab0d2f878 Mon Sep 17 00:00:00 2001 From: meissner Date: Sat, 27 Oct 2018 05:19:44 +0000 Subject: fix bug git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/constant@265556 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/rs6000.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2cc36e810f1..0e5fabde3c1 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -7317,7 +7317,7 @@ { long l; REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (src), l); - emit_move_insn (gen_lowpart (SImode, operands[0]), GEN_INT (l)); + emit_move_insn (gen_rtx_REG (SImode, REGNO (operands[0])), GEN_INT (l)); DONE; } }) -- cgit v1.2.3