This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ adding extra underscore to enum value symbol name?
Joel Dice writes:
> 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
I see there is a patch in this Bugzilla. Could I ask you please to
submit this patch to gcc-patches@gcc.gnu.org?
Thanks,
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903