From 1a9017f94e6475301d858701d4b780565ff5dd2a Mon Sep 17 00:00:00 2001
From: Alexandre Oliva <aoliva@redhat.com>
Date: Thu, 24 Jan 2002 04:42:12 +0000
Subject: [PATCH] * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in
 mode.

From-SVN: r49167
---
 gcc/ChangeLog             | 4 ++++
 gcc/config/sparc/sparc.md | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b368db5fa839..5266fc0f1fec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+	* config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
+
 2002-01-23  Richard Henderson  <rth@redhat.com>
 
 	* config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 451abf81e877..c708da4d975e 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -1,6 +1,6 @@
 ;- Machine description for SPARC chip for GNU C compiler
 ;;  Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-;;  1999, 2000, 2001 Free Software Foundation, Inc.
+;;  1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 ;;  Contributed by Michael Tiemann (tiemann@cygnus.com)
 ;;  64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
 ;;  at Cygnus Support.
@@ -5316,7 +5316,7 @@
 
 (define_expand "fix_trunctfdi2"
   [(set (match_operand:DI 0 "register_operand" "=e")
-	(fix:SI (fix:TF (match_operand:TF 1 "register_operand" "e"))))]
+	(fix:DI (fix:TF (match_operand:TF 1 "register_operand" "e"))))]
   "TARGET_V9 && TARGET_FPU && (TARGET_HARD_QUAD || TARGET_ARCH64)"
   "
 {
-- 
GitLab