This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31765] gfortran gcc_gobble_whitespace broke previously working source
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2007 18:17:16 -0000
- Subject: [Bug fortran/31765] gfortran gcc_gobble_whitespace broke previously working source
- References: <bug-31765-14482@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kargl at gcc dot gnu dot org 2007-04-30 19:17 -------
Mark,
Section 3.1 of the Fortran 95 standard defines the "Fortran Character
Set". tab is not a member of this set whereas space (or blank) is. One
then needs to read Section 3.3.2 that covers fixed-form source code.
3.3.2.4 Fixed form statements
A label, if present, shall occur in character positions 1 through 5 of the
first line of a statement; otherwise, positions 1 through 5 shall be blank.
Blanks may appear anywhere within a label. A statement following a ";" on the
same line shall not be labeled. Character positions 1 through 5 of any
continuation lines shall be blank.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31765