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: don't name temporary variables


* Gabriel Dos Reis:

> Andrew Haley <aph@redhat.com> writes:
>
> | Gabriel Dos Reis writes:
> |   > 
> |  > I'd rather real C-like identifiers, __txxx
> | 
> | I wouldn't, because you have a clash when a user names their variables
> | __txx.
>
> Then call it __Txxx, it has zero zilk chance in real codes.  At least,
> I've seen production compilers that translate to C or C++ using that
> format.

And you could even reject such names in the front end.


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