Java symbol mangling

Tom Tromey tromey@redhat.com
Wed Jan 31 09:20:00 GMT 2001


>>>>> "Gerald" == Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

Gerald> extern int class __attribute__ ((alias ("_ZN3gnu3gcj7convert7Convert6class$E")));

Gerald> The lines causing problems is class =
Gerald> _ZN3gnu3gcj7convert7Convert6class$E.
Gerald> Perhaps this is just a GNU-as-ism?

I don't know.  But to me this would seem to be a bug in the C
compiler, not gcj.  gcj invokes cc1 to compile the C source you
posted.  If the C compiler generates incorrect assembly then I think
it is a bug there.  That is, provided the C code we generate is ok.
As far as I know it is.

Tom


More information about the Gcc mailing list