This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Replace build with buildN in tree-*
- From: Roger Sayle <roger at eyesopen dot com>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Feb 2005 08:35:13 -0700 (MST)
- Subject: Re: [patch] Replace build with buildN in tree-*
On Sat, 26 Feb 2005, Steven Bosscher wrote:
>
> * tree-cfg.c (factor_computed_gotos): Use buildN instead of build.
> (gimplify_val): Likewise.
> * tree-complex.c (update_complex_assignment): Likewise.
> (expand_complex_div_wide): Likewise.
> * tree-data-ref.c (tree_fold_divides_p): Likewise.
> (analyze_siv_subscript_cst_affine): Likewise.
> * tree-eh.c (do_return_redirection): Likewise.
> (honor_protect_cleanup_actions): Likewise.
> (lower_try_finally_switch): Likewise.
> * tree-if-conv.c (add_to_predicate_list): Likewise.
> (add_to_dst_predicate_list): Likewise.
> (replace_phi_with_cond_modify_expr): Likewise.
> (ifc_temp_var): Likewise.
> * tree-inline.c (copy_body_r): Likewise.
> (setup_one_parameter): Likewise.
> (expand_call_inline): Likewise.
> * tree-mudflap.c (mf_decl_cache_locals): Likewise.
> (mf_build_check_statement_for): Likewise.
> (mf_xform_derefs_): Likewise.
> (mx_register_decls): Likewise.
> * tree-nested.c (init_tmp_var): Likewise.
> (save_tmp_var): Likewise.
> (get_static_chain): Likewise.
> (get_frame_field): Likewise.
> (finalize_nesting_tree_): Likewise.
> * tree-outof-ssa.c (insert_copy_on_edge): Likewise.
> (insert_backedge_copies): Likewise.
> * tree-profile.c (tree_gen_edge_profiler): Likewise.
> * tree-scalar-evolution.c (instantiate_parameters_): Likewise.
> * tree-sra.c (generate_one_element_ref): Likewise.
> (generate_copy_inout): Likewise.
> (generate_element_copy): Likewise.
> (generate_element_zero): Likewise.
> * tree-ssa-ccp.c (ccp_fold): Likewise.
> (maybe_fold_offset_to_array_ref): Likewise.
> (maybe_fold_offset_to_component_ref): Likewise.
> * tree-ssa-forwprop.c (substitute_single_use_vars): Likewise.
> * tree-ssa-loop-im.c (schedule_sm): Likewise.
> * tree-ssa-loop-ivopts.c (determine_base_object): Likewise.
> * tree-ssa-phiopt.c (conditional_replacement): Likewise.
> (value_replacement): Likewise.
> (abs_replacement): Likewise.
> * tree-ssa-pre.c (create_expression_by_pieces): Likewise.
> * tree-tailcall.c (adjust_accumulator_values): Likewise.
> (adjust_return_value): Likewise.
This is OK for mainline. The other two will require either global
approval, or approval from the appropriate front-end or back-end
maintainers. Perhaps RTH, as author of buildN, could pre-approve
these changes?
Hopefully, this clean-up shouldn't be too much of an inconvenience
to branch maintainers as the changes are extremely mechanical.
Thanks,
Roger
--