This is the mail archive of the gcc-bugs@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: `$' in identifiers -vs- PPC Linux


At 02:58 31.08.00, Geoff Keating wrote:
>Tom Tromey <tromey@cygnus.com> writes:
>
> > Alexandre> I'm bitten by this problem on AIX 4.1, when compiling
> > Alexandre> libgcj.  It would be nice if g++ could somehow mangle `$'
> > Alexandre> so as to accept it in source-code (even if with
> > Alexandre> -fdollars-in-identifiers) even if the assembler can't
> > Alexandre> accept them directly.
> >
> > Yes.  For instance it could mangle them the way that gcj already
> > mangles non-ASCII characters that are valid in Java identifiers.
>
>It'd be good to move this code into the language-independent parts of
>the compiler, because it'll be needed even for C mangling of \u escapes
>in identifiers.
>
>I also have no objection to moving DOLLARS_IN_IDENTIFIERS into aix.h
>if someone wants to generate a patch.  The native assembler on all the
>ppc sysv stuff is GNU as, which should be OK with $, and it's probably
>better to be consistent between linuxes.

I can do this patch later today, reminds me that I wanted to move some 
other macros to aix.h stiil.

BTW, is anyone else seeing execution FAIL's if they run the Fortran 
testsuite with -fPIC?

Franz.


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