This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[FYI] fix name of unused TREE_NOT_CHECK4
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Sep 2011 09:35:31 -0300
- Subject: [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