This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch,4.4, Fortran] PR34997 - Better error message for '$' in name
- From: FX <fxcoudert at gmail dot com>
- To: "Andrew Haley" <aph at redhat dot com>
- Cc: "Tobias Burnus" <burnus at net-b dot de>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Feb 2008 15:04:58 +0000
- Subject: Re: [patch,4.4, Fortran] PR34997 - Better error message for '$' in name
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dV/CbvXgAG0k+ProgeIKBfLBPLwVkRXVUb/z0jJtg3Q=; b=wbjtR3JlRS/epyN3DMKoA4RpMRzBkQuluO27hpkpSdFPahl/wyP892SlIQElGE85wU6LCM6ffTuCHvrORDl+1Xsaz/Ne95cU6HqwG/50k0NfRJR4uiE7QxeojsMUsxeZQr5vAy6TQ2SzDoMQyNpbdUb+ukCMQHFQh3a/eAKno74=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vtQgEGdCD/LYDTOEyxcIQaTluhjiQ1TL8n8IPYKVP4DVerDpto6xCvnuAucpdZw9XDPyFEvILZ2n5mm3G7lBHkhucGa9GsccMqazEcaPRPyBN3JlcIoNRXeOHF4QZS6l8q/wVJqMzelCD3PQ7mwsuICY0d5Pm0XYRSVMIrG6+Do=
- References: <47BC3A7A.5020006@net-b.de> <19c433eb0802200646p5172bed7saf8b5c4b360b80b4@mail.gmail.com> <47BC3E4B.4080109@redhat.com>
> This is a bit weird. C and C++ have the option "-f{no-}dollars-in-identifiers"
> but FORTRAN has "-fdollar-ok" for exactly the same meaning?
The main issue I can see is that the defaults for Fortran and C
languages are opposite (Fortran has -fno-dollar-ok by default). Also,
if we transition to use -f{no-,}dollars-in-identifiers, we'll first
need to make -fdollar-ok an equivalent obsolete option, and remove it
at a later point.
I really don't care strongly either way.
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/