[tree-ssa] dead const/pure/alloca call removal

Richard Henderson rth@redhat.com
Sun Nov 9 18:44:00 GMT 2003


On Sun, Nov 09, 2003 at 11:59:53AM +0100, Jan Hubicka wrote:
> We don't loose it, but we first gimplify, then realize that calee is
> const (during it's RTL expansion, but soon from the trees in global
> cgraph optimization pass) and then optimize the caller with bit still
> set to side effects.  Thus we need to re-consider it.

I see.  It's a mater of deducing constness after gimplifcation,
rather than losing it from a declaration.  Yes, that makes sense.
In which case, you should also update the NOTHROW bit on the call.


r~



More information about the Gcc-patches mailing list