[tree-ssa] tree-ssa vs. fold

Jeff Sturm jsturm@one-point.com
Sat Jun 7 16:31:00 GMT 2003


On 7 Jun 2003, Diego Novillo wrote:
> > d) Fix fold() not to save_expr.
> >
> > Is d) the only real choice?  Am I missing something easy?
> >
> IMO d) is the solution.  fold() should be rewritten to generate GIMPLE
> code.  In particular, why does it need those SAVE_EXPRs in this case?
> We know that these nodes have no side-effects in GIMPLE.  Maybe it
> wouldn't be too hard to avoid emitting SAVE_EXPRs when we know we're
> folding GIMPLE code.

OK, I'll take a closer look at fold() and see what can be done.

Thanks,

Jeff



More information about the Gcc mailing list