summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 21:55:09 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 21:55:09 +0000
commitec027d53286fc7dc9923075f022c38c7e680bc6d (patch)
tree223e53a9a1f986c197c0aab23f5d9a9f1fb08c41
parent9d20d44334942bf97e463271b71c5d93dc0a12b6 (diff)
downloadgcc-ec027d53286fc7dc9923075f022c38c7e680bc6d.tar.gz
Fix abort when passing 1.0L as unnamed argument.
* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to operand_subword. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40951 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/ia64/ia64.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0cd464bb734..6d9f7b12965 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-28 Jim Wilson <wilson@redhat.com>
+
+ * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
+ operand_subword.
+
2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md
index 7de8677ac21..1f99ab6d908 100644
--- a/gcc/config/ia64/ia64.md
+++ b/gcc/config/ia64/ia64.md
@@ -707,9 +707,9 @@
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
emit_move_insn (gen_rtx_REG (DImode, REGNO (operands[0])),
- operand_subword (operands[1], 0, 0, DImode));
+ operand_subword (operands[1], 0, 0, TFmode));
emit_move_insn (gen_rtx_REG (DImode, REGNO (operands[0]) + 1),
- operand_subword (operands[1], 1, 0, DImode));
+ operand_subword (operands[1], 1, 0, TFmode));
DONE;
}