This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix 14844/15459/21608: Forward-propagate casts that will collapse
On Tue, May 24, 2005 at 02:53:36PM -0600, Jeffrey A Law wrote:
> > Forwprop is not the place for this optimization.
> I'm less sure about this. Ultimately everything in forwprop.c is
> just tree combination (run forward rather than reverse). At least
> some cases of NOP_EXPR removal clearly fall under the category of
> tree combination.
I was thinking that this was copy-prop with some extra checks
at the substitution point.
r~