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]

Re: Java: Don't mangle "$" characters in identifier names


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

> Jason Merrill wrote:
>> Apparently someone once decided that using '.' instead of '$' would be a
>> good idea on SVR4 platforms.
>> 
>> Now that the mangling scheme doesn't use either of these, we should remove
>> this macro definition, and most of the remaining NO_*_IN_LABEL code around
>> the compiler.

> What about '$' in labels? Should C++ be mangling those to something else
> ('__U24_'), or does it not matter?

If the assembler accepts literal $, we should use literal $.

Jason


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