Patch for g++

Tom Tromey tromey@cygnus.com
Tue Oct 3 15:03:00 GMT 2000


>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:

>> http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00085.html

Richard> This won't work on systems defining NO_DOLLAR_IN_LABEL.

Yeah.  However, I think Java already won't work on those systems :-(.
In particular field initialization generates a method named `finit$',
and inner classes use `$' all over the place.

One fix would be to mangle `$' as though it were a non-ascii character
on systems that define NO_DOLLAR_IN_LABEL.  I don't know whether this
is acceptable however.

Tom


More information about the Gcc-patches mailing list