This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Translate dollar signs to underscores for AIX (PR target/35483)


David Edelsohn wrote:
> On Wed, Oct 15, 2008 at 2:44 PM, Richard Henderson <rth@redhat.com> wrote:
> 
>> The Java front end really should honor NO_DOLLAR_IN_LABEL and replace
>> those symbols with something else, e.g. that underscore.  I really hate
>> to have this hack burried in the backend.
> 
> The one benefit of this approach is the AIX support machinery in GCC can
> rename the external symbols to the normal Java identifiers, so developers
> see the Java names they expect.  If the Java front-end converted the symbol
> name, it would be difficult to recover the real value.

Fair enough, so I'll leave the Java FE alone.  To do otherwise would require
changes to gdb and to g++.

Andrew.


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