diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-08 17:13:31 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-08 17:13:31 +0000 |
commit | 616507035de4fef96f26b4dba4c47b8329ef8ccc (patch) | |
tree | 11a074060962284cde1650de7904762898f4f46b /gcc | |
parent | d59cd938af0b0761bbd61c503d1fe27a51ea5966 (diff) | |
download | gcc-616507035de4fef96f26b4dba4c47b8329ef8ccc.tar.gz |
* tree.h (STRIP_MAIN_TYPE_NOPS): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/tree.h | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1d9bb0dd29..68381305b37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -12,6 +12,8 @@ * function.h (nonlocal_labels): Remove. + * tree.h (STRIP_MAIN_TYPE_NOPS): Remove. + 2005-04-08 Ulrich Weigand <uweigand@de.ibm.com> * config/s390/tpf.h (ASM_SPEC): Define. diff --git a/gcc/tree.h b/gcc/tree.h index 093f5c3d566..0141d2b4456 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -720,17 +720,6 @@ extern void tree_operand_check_failed (int, enum tree_code, == TYPE_UNSIGNED (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \ (EXP) = TREE_OPERAND (EXP, 0) -/* Like STRIP_NOPS, but don't alter the TREE_TYPE main variant either. */ - -#define STRIP_MAIN_TYPE_NOPS(EXP) \ - while ((TREE_CODE (EXP) == NOP_EXPR \ - || TREE_CODE (EXP) == CONVERT_EXPR \ - || TREE_CODE (EXP) == NON_LVALUE_EXPR) \ - && TREE_OPERAND (EXP, 0) != error_mark_node \ - && (TYPE_MAIN_VARIANT (TREE_TYPE (EXP)) \ - == TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \ - (EXP) = TREE_OPERAND (EXP, 0) - /* Like STRIP_NOPS, but don't alter the TREE_TYPE either. */ #define STRIP_TYPE_NOPS(EXP) \ |