From 861829ed08240e6a484475ee53b5eb24bde850bc Mon Sep 17 00:00:00 2001
From: Richard Henderson <rth@redhat.com>
Date: Mon, 15 Apr 2002 20:01:17 -0700
Subject: [PATCH] abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
 call_really_used_regs too.

        * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

From-SVN: r52352
---
 gcc/ChangeLog           | 5 +++++
 gcc/config/mips/abi64.h | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 830658b3b3b..83627779e07 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-15  Richard Henderson  <rth@redhat.com>
+
+	* config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
+	call_really_used_regs too.
+
 2002-04-15  Richard Henderson  <rth@redhat.com>
 
 	* config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
diff --git a/gcc/config/mips/abi64.h b/gcc/config/mips/abi64.h
index a76f8c05ab3..c5125d79441 100644
--- a/gcc/config/mips/abi64.h
+++ b/gcc/config/mips/abi64.h
@@ -52,14 +52,14 @@ Boston, MA 02111-1307, USA.  */
     {									\
       int regno;							\
       for (regno = FP_REG_FIRST + 20; regno < FP_REG_FIRST + 24; regno++) \
-	call_used_regs[regno] = 1;					\
+	call_really_used_regs[regno] = call_used_regs[regno] = 1;	\
     }									\
   /* odd registers from fp21 to fp31 are now caller saved.  */		\
   if (mips_abi == ABI_N32 || mips_abi == ABI_MEABI)  			\
     {									\
       int regno;							\
       for (regno = FP_REG_FIRST + 21; regno <= FP_REG_FIRST + 31; regno+=2) \
-	call_used_regs[regno] = 1;					\
+	call_really_used_regs[regno] = call_used_regs[regno] = 1;	\
     }									\
 }