This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Replace fold_build[12] with fold_{unary,binary} wherever possible.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Dec 2005 08:30:46 -0700 (MST)
- Subject: Re: [patch] Replace fold_build[12] with fold_{unary,binary} wherever possible.
On Wed, 21 Dec 2005, Kazu Hirata wrote:
> 2005-12-20 Kazu Hirata <kazu@codesourcery.com>
>
> * tree-data-ref.c (estimate_niter_from_size_of_data): Replace
> fold_build2 with fold_binary.
> * tree-ssa-ccp.c (visit_assignment, maybe_fold_stmt_addition):
> Replace fold_build1 with fold_unary.
> * tree-ssa-reassoc.c (optimize_ops_list): Replace fold_build2
> with fold_binary.
This is OK for mainline.
Thanks,
Roger
--