diff options
author | Jason Merrill <jason@redhat.com> | 2003-08-20 17:46:48 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-08-20 17:46:48 -0400 |
commit | 68ad9159aa8f37386cc910950e1814825e2335b6 (patch) | |
tree | a4be84606bce231dfa45e9238c38069766649fd4 /gcc/tree.h | |
parent | c8e60672eff02dc404f86f6fdaecbc45c622f838 (diff) | |
download | gcc-68ad9159aa8f37386cc910950e1814825e2335b6.zip gcc-68ad9159aa8f37386cc910950e1814825e2335b6.tar.gz gcc-68ad9159aa8f37386cc910950e1814825e2335b6.tar.bz2 |
tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
* tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
(EXPR_CHECK): Don't check for 'r' or 's' if we're
checking IS_EXPR_CODE_CLASS.
* calls.c (calls_function_1): Likewise.
* fold-const.c (fold): Likewise.
* tree.c (iterative_hash_expr): Likewise.
* tree-inline.c (walk_tree, copy_tree_r): Likewise.
From-SVN: r70617
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -57,7 +57,8 @@ extern const char tree_code_type[]; expression. */ #define IS_EXPR_CODE_CLASS(CLASS) \ - ((CLASS) == '<' || (CLASS) == '1' || (CLASS) == '2' || (CLASS) == 'e') + ((CLASS) == '<' || (CLASS) == '1' || (CLASS) == '2' || (CLASS) == 'e' \ + || (CLASS) == 'r' || (CLASS) == 's') /* Number of argument-words in each kind of tree-node. */ @@ -291,7 +292,7 @@ struct tree_common GTY(()) #define EXPR_CHECK(T) __extension__ \ ({ const tree __t = (T); \ char const __c = TREE_CODE_CLASS (TREE_CODE (__t)); \ - if (!IS_EXPR_CODE_CLASS (__c) && __c != 'r' && __c != 's') \ + if (!IS_EXPR_CODE_CLASS (__c)) \ tree_class_check_failed (__t, 'e', __FILE__, __LINE__, \ __FUNCTION__); \ __t; }) |