[PATCH] Remove unused tree codes, FIX_CEIL_EXPR, FIX_FLOOR_EXPR, FIX_ROUND_EXPR

Ian Lance Taylor iant@google.com
Fri Nov 10 16:51:00 GMT 2006


Richard Guenther <rguenther@suse.de> writes:

> 2006-11-10  Richard Guenther  <rguenther@suse.de>
> 
> 	* tree.def (FIX_CEIL_EXPR, FIX_FLOOR_EXPR, FIX_ROUND_EXPR):
> 	Remove unused tree codes.
> 	* tree-vrp.c (extract_range_from_unary_expr): Remove handling
> 	of FIX_CEIL_EXPR, FIX_FLOOR_EXPR and FIX_ROUND_EXPR.
> 	* tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
> 	* tree.c (stabilize_reference): Likewise.
> 	* fold-const.c (fold_convert_const_int_from_real, operand_equal_p,
> 	fold_unary): Likewise.
> 	* tree-gimple.c (is_gimple_cast): Likewise.
> 	* dwarf2out.c (loc_descriptor_from_tree_1): Likewise.
> 	* expr.c (expand_expr_real_1): Likewise.
> 	* tree-eh.c (tree_could_trap_p): Likewise.
> 	* gimplify.c (gimplify_expr): Likewise.
> 	* tree-inline.c (estimate_num_insns_1): Likewise.
> 	* tree-cfg.c (verify_expr): Likewise.
> 
> 	cp/
> 	* typeck.c (build_unary_op): Likewise.
> 
> 	java/
> 	* check-init.c (check_init): Likewise.
> 
> 	ada/
> 	* trans.c (maybe_stabilize_reference): Likewise.
> 
> 	fortran/
> 	* trans-intrinsic.c (enum rounding_mode): New enum.
> 	(build_fix_expr, gfc_conv_intrinsic_aint, gfc_conv_intrinsic_mod,
> 	gfc_conv_intrinsic_function): Use it instead of FIX_CEIL_EXPR,
> 	FIX_FLOOR_EXPR, FIX_ROUND_EXPR and FIX_TRUNC_EXPR.

The middle-end parts are OK.

Thanks.

Ian



More information about the Gcc-patches mailing list