aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2018-10-27 05:19:44 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2018-10-27 05:19:44 +0000
commit776f7492d20ba3bbb096d1cbf532a61456a3b738 (patch)
treeca73dada486b0b5966d471c7e668a3e6643c3d52
parentd9aa1d803d7c632409cac82472dab5187ba4f30c (diff)
fix bug
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/constant@265556 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/rs6000/rs6000.md2
1 files changed, 1 insertions, 1 deletions
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;
}
})