diff options
author | Richard Henderson <rth@redhat.com> | 2003-12-02 02:14:40 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-12-02 02:14:40 -0800 |
commit | 7e7c843fc72dc9f503ca052f2366d5a10eabc45c (patch) | |
tree | 435cdb343860221e1462222011307b8ded1f891a /gcc/tree.h | |
parent | df2b750fc14c757455d3ea296121ffe797edb217 (diff) | |
download | gcc-7e7c843fc72dc9f503ca052f2366d5a10eabc45c.zip gcc-7e7c843fc72dc9f503ca052f2366d5a10eabc45c.tar.gz gcc-7e7c843fc72dc9f503ca052f2366d5a10eabc45c.tar.bz2 |
rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast.
* rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast.
* tree.h (TREE_SET_CODE): Likewise.
* recog.h (struct insn_operand_data): Move const after ENUM_BITFIELD.
From-SVN: r74170
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -270,8 +270,7 @@ struct tree_common GTY(()) /* The tree-code says what kind of node it is. Codes are defined in tree.def. */ #define TREE_CODE(NODE) ((enum tree_code) (NODE)->common.code) -#define TREE_SET_CODE(NODE, VALUE) \ -((NODE)->common.code = (ENUM_BITFIELD (tree_code)) (VALUE)) +#define TREE_SET_CODE(NODE, VALUE) ((NODE)->common.code = (VALUE)) /* When checking is enabled, errors will be generated if a tree node is accessed incorrectly. The macros abort with a fatal error. */ |