This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] tree-ssa-ccp.c: Propagate ADDR_EXPRs further.
Hi Jeff,
> > On May 27, 2005, at 12:40 AM, Jeffrey A Law wrote:
> > > I'd like to see at least some measurement of compile-time impacts.
> >
> > How can this have a compile time impact if fold_binary_to_constant
> > just calls fold_binary anyways (likewise for fold_unary_to_constant)?
> Well, that would be a relatively recent change. If that's all it
> does now, then why do we have it as a separate routine at all?
That's a good question. In the following message
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00371.html
you said "If we're not taking a noticable compile-time hit, then I'm
all for it." So you were apparently for Roger's change...
By the way, the only users of fold_binary_to_constant that are left
are in tree-ssa-loop-ivopts and tree-ssa-loop-niter.c.
Kazu Hirata