diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 04:07:11 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 04:07:11 +0000 |
commit | 7ec74242063f5a2503579747830c0d1e90f4f507 (patch) | |
tree | 0cd23db194ce8f06f404f08d5c58ee48e28e19e2 /gcc | |
parent | 9b1182e02dd2812c7445975f49a58f05403bbb2a (diff) | |
download | gcc-7ec74242063f5a2503579747830c0d1e90f4f507.tar.gz |
* tree.h (STRIP_NOPS): Remove extraneous semicolon.
(STRIP_SIGN_NOPS): Likewise.
(STRIP_TYPE_NOPS): Likewise.
(COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around
macro paramater.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48409 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/tree.h | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d6c90638cf..66ea716dc44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2001-12-31 Graham Stott <grahams@redhat.com> + * tree.h (STRIP_NOPS): Remove extraneous semicolon. + (STRIP_SIGN_NOPS): Likewise. + (STRIP_TYPE_NOPS): Likewise. + (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around + macro paramater. + +2001-12-31 Graham Stott <grahams@redhat.com> + * final.c (struct bb_list): Delete. (struct bb_str): Likewise. diff --git a/gcc/tree.h b/gcc/tree.h index c905324de47..eee6663cb75 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -353,7 +353,7 @@ extern void tree_class_check_failed PARAMS ((const tree, int, && TREE_OPERAND (EXP, 0) != error_mark_node \ && (TYPE_MODE (TREE_TYPE (EXP)) \ == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \ - (EXP) = TREE_OPERAND (EXP, 0); + (EXP) = TREE_OPERAND (EXP, 0) /* Like STRIP_NOPS, but don't let the signedness change either. */ @@ -366,7 +366,7 @@ extern void tree_class_check_failed PARAMS ((const tree, int, == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0)))) \ && (TREE_UNSIGNED (TREE_TYPE (EXP)) \ == TREE_UNSIGNED (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \ - (EXP) = TREE_OPERAND (EXP, 0); + (EXP) = TREE_OPERAND (EXP, 0) /* Like STRIP_NOPS, but don't alter the TREE_TYPE either. */ @@ -377,7 +377,7 @@ extern void tree_class_check_failed PARAMS ((const tree, int, && TREE_OPERAND (EXP, 0) != error_mark_node \ && (TREE_TYPE (EXP) \ == TREE_TYPE (TREE_OPERAND (EXP, 0)))) \ - (EXP) = TREE_OPERAND (EXP, 0); + (EXP) = TREE_OPERAND (EXP, 0) /* Nonzero if TYPE represents an integral type. Note that we do not include COMPLEX types here. */ @@ -463,7 +463,7 @@ extern void tree_class_check_failed PARAMS ((const tree, int, /* Nonzero if this type is complete or is an array with unspecified bound. */ #define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \ - (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : NODE)) + (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE))) /* Nonzero if TYPE represents a type. */ |