summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-08 10:21:56 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-08 10:21:56 +0000
commit0a8caa99b08884d007e6b42bbaf53135a853913f (patch)
tree4f412f2724ed37a7221c59202880bc4e240d97b7
parentb214a0b659f475a7663ad556ebf4c4b8f268b001 (diff)
downloadppe42-gcc-0a8caa99b08884d007e6b42bbaf53135a853913f.tar.gz
ppe42-gcc-0a8caa99b08884d007e6b42bbaf53135a853913f.zip
* mangle.c (MANGLE_TRACE): Add parenthesis.
(MANGLE_TRACE_TREE): Likewise. (write_signed_number): Likewise. (write_unsigned_number): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48638 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/mangle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index a0260e19b68..63f3a0461ad 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -1,5 +1,5 @@
/* Name mangling for the 3.0 C++ ABI.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
Written by Alex Samuel <sameul@codesourcery.com>
This file is part of GNU CC.
@@ -65,10 +65,10 @@
/* Macros for tracing the write_* functions. */
#if DEBUG_MANGLE
# define MANGLE_TRACE(FN, INPUT) \
- fprintf (stderr, " %-24s: %-24s\n", FN, INPUT)
+ fprintf (stderr, " %-24s: %-24s\n", (FN), (INPUT))
# define MANGLE_TRACE_TREE(FN, NODE) \
fprintf (stderr, " %-24s: %-24s (%p)\n", \
- FN, tree_code_name[TREE_CODE (NODE)], (void *) NODE)
+ (FN), tree_code_name[TREE_CODE (NODE)], (void *) (NODE))
#else
# define MANGLE_TRACE(FN, INPUT)
# define MANGLE_TRACE_TREE(FN, NODE)
@@ -227,11 +227,11 @@ static void write_java_integer_type_codes PARAMS ((tree));
/* Write out a signed quantity in base 10. */
#define write_signed_number(NUMBER) \
- write_number (NUMBER, /*unsigned_p=*/0, 10)
+ write_number ((NUMBER), /*unsigned_p=*/0, 10)
/* Write out an unsigned quantity in base 10. */
#define write_unsigned_number(NUMBER) \
- write_number (NUMBER, /*unsigned_p=*/1, 10)
+ write_number ((NUMBER), /*unsigned_p=*/1, 10)
/* If DECL is a template instance, return non-zero and, if
TEMPLATE_INFO is non-NULL, set *TEMPLATE_INFO to its template info.
OpenPOWER on IntegriCloud