summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-22 22:06:35 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-22 22:06:35 +0000
commit7c0383352e7c209235e329babef610fed58f5324 (patch)
treed3c41d1fad0a4d7bc84d1e78f14516a820e2e648 /gcc/tree.h
parentf1b3743807809f1824e24d455049f329ebf5fe24 (diff)
downloadgcc-7c0383352e7c209235e329babef610fed58f5324.tar.gz
* system.h (IN_RANGE): Restore HOST_WIDE_INT cast.
* tree.h (IS_EXPR_CODE_CLASS): Do not use IN_RANGE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 76424a5c6b9..7a78bbf6190 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -147,7 +147,7 @@ extern const enum tree_code_class tree_code_type[];
expression. */
#define IS_EXPR_CODE_CLASS(CLASS)\
- (IN_RANGE (CLASS, tcc_reference, tcc_expression))
+ (((CLASS) - tcc_reference) <= (tcc_expression - tcc_reference))
/* Returns nonzero iff NODE is an expression of some kind. */