This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31144] gfortran module symbol names are not standard compliant
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2007 14:00:48 -0000
- Subject: [Bug fortran/31144] gfortran module symbol names are not standard compliant
- References: <bug-31144-14229@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-03-21 14:00 -------
(In reply to comment #4)
> FX' suggestion may fail if dots turn out to be non-portable.
The GNU as documentation says: "Symbol names begin with a letter or with one of
`._'. On most machines, you can also use $ in symbol names; exceptions are
noted in Machine Dependencies. That character may be followed by any string of
digits, letters, dollar signs (unless otherwise noted in Machine Dependencies),
and underscores."
So the strictest possible set of names: [a-zA-Z._][a-zA-Z0-9]*
We should see if there are other requirements, e.g. when GCC is built with a
system assembler that is not the GNU as. Otherwise, I think we'll have to go
with uppercase.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31144