Patchwork [FYI] fix name of unused TREE_NOT_CHECK4

login
register
mail settings
Submitter Alexandre Oliva
Date Sept. 19, 2011, 12:35 p.m.
Message ID <orehzcpv58.fsf@livre.localdomain>
Download mbox | patch
Permalink /patch/115332/
State New
Headers show

Comments

Alexandre Oliva - Sept. 19, 2011, 12:35 p.m.
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.

Patch

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)					\