This is the mail archive of the gcc-patches@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]

[patch] gcse.c: Fix a typo in the previous check-in to the file.


Hi,

http://gcc.gnu.org/ml/gcc-cvs/2004-01/msg01436.html

breaks this cc0 port because pat is not defined (yet).  Did you mean
something like this?

Kazu Hirata

2004-01-29  Kazu Hirata  <kazu@cs.umass.edu>

	* gcse.c (bypass_block): Fix a typo in the previous check-in
	to the file.

Index: gcse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
retrieving revision 1.290
diff -u -r1.290 gcse.c
--- gcse.c	28 Jan 2004 14:13:35 -0000	1.290
+++ gcse.c	29 Jan 2004 20:15:36 -0000
@@ -4878,7 +4878,7 @@
 	     branch.  We would end up emitting the instruction on "both"
 	     edges.  */
 	    
-	  if (dest && setcc && !CC0_P (SET_DEST (pat)))
+	  if (dest && setcc && !CC0_P (SET_DEST (PATTERN (setcc))))
 	    {
 	      edge e2;
 	      for (e2 = e->src->succ; e2; e2 = e2->succ_next)


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