aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-12-02 02:14:40 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-12-02 02:14:40 -0800
commit7e7c843fc72dc9f503ca052f2366d5a10eabc45c (patch)
tree435cdb343860221e1462222011307b8ded1f891a /gcc/tree.h
parentdf2b750fc14c757455d3ea296121ffe797edb217 (diff)
downloadgcc-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 2bad603..a2fdb1e 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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. */