a question about const and pure functions.
Diego Novillo
dnovillo@redhat.com
Thu Nov 11 20:15:00 GMT 2004
On Thu, 2004-11-11 at 13:23, Roger Sayle wrote:
> On 11 Nov 2004, Tom Tromey wrote:
> > I don't have an immediate plan to implement any of this, but I've
> > been thinking about it in the context of tree-ssa. I've read that
> > some folks would like there to be a clean handoff from the front ends
> > to the GENERIC parts of the compiler -- so I've been trying to think
> > of situations where this causes problems for java.
>
> Another possibility is to make the class initialization behaviour
> far more explicit in the gimple when handing off to the middle-end.
>
That's roughly what I had in mind. But I never thought it completely
through. It is in-line with the general direction of expanding the
language semantics in painful detail on the IL for the optimizers
benefit. There may be some some nasty side-effects in the size of the
IL, so we'd have to watch for that.
Diego.
More information about the Gcc
mailing list