[tree-ssa]: Fix obvious bug in tree-pretty-print.c
Daniel Berlin
dberlin@dberlin.org
Sun May 18 00:54:00 GMT 2003
Noticed this one copying the MASK_POINTER macro to some other file.
2003-05-17 Daniel Berlin <dberlin@dberlin.org>
* tree-pretty-print.c (MASK_POINTER): Parameter is P, not node.
Index: tree-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-pretty-print.c,v
retrieving revision 1.1.2.26
diff -u -3 -p -r1.1.2.26 tree-pretty-print.c
--- tree-pretty-print.c 13 May 2003 02:16:39 -0000 1.1.2.26
+++ tree-pretty-print.c 18 May 2003 00:37:51 -0000
@@ -56,7 +56,7 @@ static void dump_vops PARAMS ((output_
(*lang_hooks.decl_printable_name) (TREE_OPERAND (NODE, 0), 1) : \
(*lang_hooks.decl_printable_name) (NODE, 1))
-#define MASK_POINTER(P) ((unsigned)((unsigned long)node & 0xffff))
+#define MASK_POINTER(P) ((unsigned)((unsigned long)(P) & 0xffff))
static output_buffer buffer;
static int initialized = 0;
More information about the Gcc-patches
mailing list