This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ adding extra underscore to enum value symbol name?


On Sun, 1 Apr 2007, Andrew Haley wrote:

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?

Certainly.


http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00015.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]