GCJ adding extra underscore to enum value symbol name?

Joel Dice dicej@mailsnare.net
Sun Apr 1 15:44:00 GMT 2007


On Sun, 1 Apr 2007, Andrew Haley wrote:

> Andrew Haley writes:
> > Fred Pendleton writes:
> >  > It appears to partially work. The underscore is gone, but the integer after the class
> >  > name part of the mangled name is one too high. eg.:
> >  >
> >  > Java:
> >  > _ZN8TestEnum23TEST_TEST_PREREQUISITEE
> >  >
> >  > C++:
> >  > _ZN8TestEnum22TEST_TEST_PREREQUISITEE
> >
> > OK, feel free to send a more elaborate patch.  You know where the bug
> > is now...
>
> Hint: looks to me as though unicode_mangling_length () has the same
> bug in almost the same place...
>
> It looks as though this bug has been around for five years, and no-one
> ever saw it before.  Also, fixing this is an ABI change, so we won't
> be able to apply a patch to old branches.  :-(

FWIW: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28474



More information about the Java mailing list