This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/39555] concat-op not allowed in STOP



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]