Patch to enable libgcj.dll for MinGW
Andrew Haley
aph@redhat.com
Tue Sep 6 19:19:00 GMT 2005
Andrew Haley writes:
> TJ Laurenzo writes:
> > > even though an inline body is provided. If the C++ compiler can prove
> > > that an object is an instance of a and not one of its subclasses, it
> > > can inline the body. If it can't prove that, it won't do the
> > > inlining.
> > Thanks for the correction. So, for platforms that support it, the
> > optimization is indeed semantically correct.
>
> Right.
>
> > Can we decide what to do with it? I am still in favor of removing
> > the code entirely, but if the decision is to go with a
> > "--disable-inline" option, I will code that up and submit the
> > patch.
>
> I'd rather not have a new option. It makes far more sense to disable
> the optimization in a target-dependent way -- it's probably just as
> simple as
>
> #ifdef SUPPORTS_ONE_ONLY
>
> I think -- but I'm not totally sure -- that this is the right ifdef.
Ah, no. Call supports_one_only().
Andrew.
More information about the Java
mailing list