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]

Re: PATCH: simple inlining for gcjh


I like the basic concept, but I have one concern.

I think it is important that we have cc1plus treat these
translated methods as "inline external", so cc1plus does not
try to emit a non-inline method.  I'm not sure your patch
will do that.

One solution is to emit #pragma interface in the header files.
The prevents cc1plus from emitting vtables, inlined methods,
or debugging information, assuming they are defined in some
other .o file.  Thta is the case - except when we have gcjh
add extra fields/methods not in the Java version.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner


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