This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
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