------- Comment #2 from kargl at gcc dot gnu dot org  2009-03-28 03:40 -------
(In reply to comment #1)
> I think it is allowed in Fortran 2008 (could also be F2003 - I don't recall).
> Since that Fortran version also "STOP <integer-expression>" is allowed.
> 

It is not allowed in F2003.

8.4  STOP statement
R849 stop-stmt      is STOP [ stop-code ]
R850 stop-code      is scalar-char-constant
                    or digit [ digit [ digit [ digit [ digit ] ] ] ]

The pdf I have marked as F2008 also contains the above text.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39555

Reply via email to