aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-07-15 15:57:23 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-07-15 15:57:23 +0000
commit3d894a8eaf6b85393ef136045babc20e3c6e6536 (patch)
tree0047fbda83e375a099892a2957c347af798eeb17 /gcc
parent910ad8dee56faaae9c25a6d026a39574937f6329 (diff)
downloadgcc-3d894a8eaf6b85393ef136045babc20e3c6e6536.zip
gcc-3d894a8eaf6b85393ef136045babc20e3c6e6536.tar.gz
gcc-3d894a8eaf6b85393ef136045babc20e3c6e6536.tar.bz2
* tree.h (TREE_RTL_OPERAND_CHECK): Delete.
From-SVN: r162224
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.h12
2 files changed, 4 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8abc3fc..f9fbfd8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
+ * tree.h (TREE_RTL_OPERAND_CHECK): Delete.
+
+2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
+
* tree.h (DECL_CHAIN): Define.
* alias.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
* c-decl.c: Likewise.
diff --git a/gcc/tree.h b/gcc/tree.h
index daf6c2b..326950c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -838,17 +838,6 @@ enum tree_node_structure_enum {
__FILE__, __LINE__, __FUNCTION__); \
&__t->exp.operands[__i]; }))
-#define TREE_RTL_OPERAND_CHECK(T, CODE, I) __extension__ \
-(*(rtx *) \
- ({__typeof (T) const __t = (T); \
- const int __i = (I); \
- if (TREE_CODE (__t) != (CODE)) \
- tree_check_failed (__t, __FILE__, __LINE__, __FUNCTION__, (CODE), 0); \
- if (__i < 0 || __i >= TREE_OPERAND_LENGTH (__t)) \
- tree_operand_check_failed (__i, __t, \
- __FILE__, __LINE__, __FUNCTION__); \
- &__t->exp.operands[__i]; }))
-
/* Nodes are chained together for many purposes.
Types are chained together to record them for being output to the debugger
(see the function `chain_type').
@@ -930,7 +919,6 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int,
#define TREE_VEC_ELT_CHECK(T, I) ((T)->vec.a[I])
#define TREE_OPERAND_CHECK(T, I) ((T)->exp.operands[I])
#define TREE_OPERAND_CHECK_CODE(T, CODE, I) ((T)->exp.operands[I])
-#define TREE_RTL_OPERAND_CHECK(T, CODE, I) (*(rtx *) &((T)->exp.operands[I]))
#define OMP_CLAUSE_ELT_CHECK(T, i) ((T)->omp_clause.ops[i])
#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) (T)
#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) (T)