diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d6c90638cf..66ea716dc44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-12-31 Graham Stott + + * 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 * final.c (struct bb_list): Delete. 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. */