This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove unused tree codes, FIX_CEIL_EXPR, FIX_FLOOR_EXPR, FIX_ROUND_EXPR
- From: Ian Lance Taylor <iant at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, gfortran at gcc dot gnu dot org
- Date: 10 Nov 2006 08:48:07 -0800
- Subject: Re: [PATCH] Remove unused tree codes, FIX_CEIL_EXPR, FIX_FLOOR_EXPR, FIX_ROUND_EXPR
- References: <Pine.LNX.4.64.0611101203470.3567@zhemvz.fhfr.qr>
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