PATCH: simple inlining for gcjh

Per Bothner bothner@cygnus.com
Sun Dec 13 16:00:00 GMT 1998


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



More information about the Gcc-patches mailing list