From 3514c10edaf2fb1bd6b8b68d5111243fe5b8069d Mon Sep 17 00:00:00 2001 From: sayle Date: Thu, 18 Sep 2003 15:06:02 +0000 Subject: * 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 --- gcc/tree.def | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/tree.def') 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. -- cgit v1.2.1