[Bug fortran/24337] Syntax error in data declaration
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 12 20:41:00 GMT 2005
------- Comment #1 from kargl at gcc dot gnu dot org 2005-10-12 20:41 -------
The final committe draft of the Fortran 95 standard (and the
final coimmitte draft of Fortran 2003 is essentially the same) has
3.2.1 Names
Names are used for various entities such as variables, program units, dummy
arguments, named constants, and derived types.
R304 name is letter [ alphanumeric-character ] ...
Constraint: The maximum length of a name is 31 characters.
letter is defined in 3.1.1
gfortran is doing the right thing. I submitted your code the Lahey's
conformance checking utility and it claims
Compiling program unit test_name at line 1:
1641-S: "SOURCE.F90", line 2, column 15: The first character of name '_var'
must not be _.
1110-S: "SOURCE.F90", line 2, column 15: Missing name.
Encountered 2 errors, 0 warnings, 0 informations in file SOURCE.F90.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24337
More information about the Gcc-bugs
mailing list