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]

[FYI] fix name of unused TREE_NOT_CHECK4


I caught this by chance: TREE_NOT_CHECK4 was not named properly,
deviating from the standard of other TREE_NOT_CHECK* macros, and
different from the equivalent macro in the without-tree-checking portion
of the macro setting.

I've checked this in as obvious, after bootstrapping it along with other
unrelated patches.

for  gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* tree.h (TREE_NOT_CHECK4): Rename from bogus NON_TREE_CHECK4.

Index: gcc/tree.h
===================================================================
--- gcc/tree.h.orig	2011-09-18 14:57:36.158234878 -0300
+++ gcc/tree.h	2011-09-18 14:57:50.454997160 -0300
@@ -795,7 +795,7 @@ enum tree_node_structure_enum {
 			     (CODE1), (CODE2), (CODE3), (CODE4), 0);	\
     __t; })
 
-#define NON_TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) __extension__	\
+#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) __extension__	\
 ({  __typeof (T) const __t = (T);					\
     if (TREE_CODE (__t) == (CODE1)					\
 	|| TREE_CODE (__t) == (CODE2)					\

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer

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