[tree-ssa] tree-ssa vs. fold

Diego Novillo dnovillo@redhat.com
Sat Jun 7 15:41:00 GMT 2003


On Fri, 2003-06-06 at 21:25, Roger Sayle wrote:

> Does a save_expr hook seem a reasonable compromise/workable?
> 
In the case of GIMPLE code I don't think it's really needed.  I can't
think of a case where we would be giving fold() an expression whose
operands need to be SAVE_EXPR'd.  Expression operands in GIMPLE never
have side-effects.

So, perhaps the SAVE_EXPR hook for GIMPLE could just be 'do-nothing'.


Diego.



More information about the Gcc mailing list