This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [new-regalloc]: ICE for s390x, bug in df.c?


Hi,

On Thu, 20 Jun 2002, Hartmut Penner wrote:

> I guess, I found a pasto in df.c, which leads to a ICE on s390x.

Ohh my.  I now even remember, that I, as I wrote it, thought to myself,
"don't forget to change that" ;-)  I obviously failed, many thanks.
Checked in the below.


Ciao,
Michael.
-- 
2002-06-20  Hartmut Penner <HPENNER@de.ibm.com>

        * df.c (df_uses_record): Fix pasto.

Index: df.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/df.c,v
retrieving revision 1.1.2.15
diff -u -p -r1.1.2.15 df.c
--- df.c	19 Jun 2002 18:35:08 -0000	1.1.2.15
+++ df.c	20 Jun 2002 11:10:01 -0000
@@ -1103,8 +1103,8 @@ df_uses_record (df, loc, ref_type, bb, i
 		{
 		  use_flags = DF_REF_READ_WRITE;
 #ifdef CLASS_CANNOT_CHANGE_MODE
-		  if (CLASS_CANNOT_CHANGE_MODE_P (GET_MODE (x),
-						  GET_MODE (SUBREG_REG (x))))
+		  if (CLASS_CANNOT_CHANGE_MODE_P (GET_MODE (dst),
+						  GET_MODE (SUBREG_REG (dst))))
 		    use_flags |= DF_REF_MODE_CHANGE;
 #endif
 		  df_uses_record (df, &SUBREG_REG (dst), DF_REF_REG_USE, bb,
@@ -1128,8 +1128,8 @@ df_uses_record (df, loc, ref_type, bb, i
 		abort ();
 	      use_flags = DF_REF_READ_WRITE;
 #ifdef CLASS_CANNOT_CHANGE_MODE
-	      if (CLASS_CANNOT_CHANGE_MODE_P (GET_MODE (x),
-					      GET_MODE (SUBREG_REG (x))))
+	      if (CLASS_CANNOT_CHANGE_MODE_P (GET_MODE (dst),
+					      GET_MODE (SUBREG_REG (dst))))
 		use_flags |= DF_REF_MODE_CHANGE;
 #endif
 	      df_uses_record (df, &SUBREG_REG (dst), DF_REF_REG_USE, bb,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]