diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-18 15:06:02 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-18 15:06:02 +0000 |
commit | 3514c10edaf2fb1bd6b8b68d5111243fe5b8069d (patch) | |
tree | 61cbcebb8d43a0d12906c59d8095e18e373d5eb6 /gcc/tree.def | |
parent | 7e172d5c38584203f4806a0835192f5cc569ace4 (diff) | |
download | gcc-3514c10edaf2fb1bd6b8b68d5111243fe5b8069d.tar.gz |
* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
PARITY_EXPR): Delete unused tree codes.
* c-common.c (c_common_truthvalue_conversion): Delete references
to FFS_EXPR and POPCOUNT_EXPR.
* c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
(pp_c_expression): Likewise.
* expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
* fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. Add support for calls to
BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
and long long variants.
* cp/lex.c (init_operators): Remove operator_name_info for FFS_EXPR.
* cp/class.c (instantiate_type): Remove FFS_EXPR case.
* f/com.c (ffecom_overlap_): Remove FFS_EXPR case.
(ffecom_tree_canonize_ref_): Likewise.
(ffe_truthvalue_conversion): Likewise.
* java/expr.c (java_truthvalue_conversion): Remove FFS_EXPR case.
* java/check-init.c (check_init): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 553e4ed930a..4b6d236dde6 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -615,13 +615,6 @@ DEFTREECODE (MAX_EXPR, "max_expr", '2', 2) operand of the ABS_EXPR must have the same type. */ DEFTREECODE (ABS_EXPR, "abs_expr", '1', 1) -/* Bit scanning and counting. */ -DEFTREECODE (FFS_EXPR, "ffs_expr", '1', 1) -DEFTREECODE (CLZ_EXPR, "clz_expr", '1', 1) -DEFTREECODE (CTZ_EXPR, "ctz_expr", '1', 1) -DEFTREECODE (POPCOUNT_EXPR, "popcount_expr", '1', 1) -DEFTREECODE (PARITY_EXPR, "parity_expr", '1', 1) - /* Shift operations for shift and rotate. Shift means logical shift if done on an unsigned type, arithmetic shift if done on a signed type. |