+2005-01-07 Richard SAndiford <rsandifo@redhat.com>
+
+ * tree.h (IS_EXPR_CODE_CLASS): Use a straight-forward range check.
+
2005-01-07 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/19283
/* Front-end tree definitions for GNU compiler.
Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GCC.
expression. */
#define IS_EXPR_CODE_CLASS(CLASS)\
- (((CLASS) - tcc_reference) <= (tcc_expression - tcc_reference))
+ ((CLASS) >= tcc_reference && (CLASS) <= tcc_expression)
/* Returns nonzero iff NODE is an expression of some kind. */