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]

Fix build-breaking typo in gcse.c


Committed as obvious.  Was the wrong version committed or what happened?

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 146998)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2009-04-30  Hans-Peter Nilsson  <hp@axis.com>
+
+	* gcse.c (gcse_constant_p): Fix typo in last change.
+
 2009-04-30  Rafael Avila de Espindola  <espindola@google.com>
 
 	* plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined.
Index: gcse.c
===================================================================
--- gcse.c	(revision 146998)
+++ gcse.c	(working copy)
@@ -1303,7 +1303,7 @@
 
   /* Since X might be inserted more than once we have to take care that it
      is sharable.  */
-  return CONSTANT_P (x) && (GET_CODE (X) != CONST || shared_const_p (x));
+  return CONSTANT_P (x) && (GET_CODE (x) != CONST || shared_const_p (x));
 }
 
 /* Scan pattern PAT of INSN and add an entry to the hash TABLE (set or

brgds, H-P


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