This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa][rfc c++/cgraph] clean up some java inlining cruft


Jan Hubicka writes:
 > > The documented reason for forcing the inlining to fail is no longer
 > > true -- we have by this point gimplified the function.
 > > 
 > > This was my first attempt to cure the aforementioned test failures.
 > > Cgraph had decided that the function in question could be inlined,
 > > but then the inliner failed to actually inline.
 > > 
 > > This, incidentally, seems like a nasty hole in cgraph that it can't
 > > see this and reset its expectations about whether an out-of-line copy
 > > is necessary.
 > I was told that in Java we always output out-of-line copy to make
 > runtime interpreters possible, so I believe this problem should never
 > arrise for Java, unless we start doing serious work on -fwhole-program.

Correct.  Every method, even a static method, has an entry in the
method table.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]