From 2bf47a10a9609a4056234883aa0d5f12c526b067 Mon Sep 17 00:00:00 2001
From: Jim Wilson <wilson@redhat.com>
Date: Wed, 28 Mar 2001 21:55:09 +0000
Subject: [PATCH] Fix abort when passing 1.0L as unnamed argument.

	* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
	operand_subword.

From-SVN: r40951
---
 gcc/ChangeLog           | 5 +++++
 gcc/config/ia64/ia64.md | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0cd464bb734e..6d9f7b129650 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 7de8677ac21f..1f99ab6d9081 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;
 	}
 
-- 
GitLab