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: Allow dollars in identifiers for ARM


Richard Earnshaw wrote:
On Thu, 2008-07-03 at 11:51 -0400, Daniel Jacobowitz wrote:
On Thu, Jul 03, 2008 at 02:19:56PM +0100, Richard Earnshaw wrote:
Overall, I don't really see now why the compiler should completely ban
$. But the potential for future problems does give me some concern.
IMO, this is similar to the reservation of _Z to the C++ ABI.  The C
compiler doesn't enforce that and shouldn't.  I think we should allow
dollars-in-identifiers except on targets where it is known not to work.

I don't mind either way, provided this doesn't affect the ABI exported
by any libraries built with the compiler.

FWIW, I agree with Daniel and Joseph that allowing this is OK, and with Richard that we should not have dollar signs appearing in the generated code unless explicitly present in the user's input. Given Richard's acquiescence, Joseph, I think you can go ahead with the patch.


Thanks,

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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