[Bug fortran/43244] Invalid statement misinterpreted as FINAL declaration
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 4 10:12:00 GMT 2010
------- Comment #8 from burnus at gcc dot gnu dot org 2010-03-04 10:12 -------
(In reply to comment #6)
> Free or Fixed form is irrelevant. Fixed form may allow things like F I N AL
> but it still must have :: (or : whitespace :) to match. (Also, the invalid
> looking array qualifier in that code needs to be caught as well.)
I want to point out that the "space" is not needed in fixed code, e.g.:
in tegerr
d or=1,5
pr in t *, r
e nddo
e nd
compiles, runs, and prints 1 to 5.
Thus I am not sure that the patch in comment 7 is the right solution.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43244
More information about the Gcc-bugs
mailing list