This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29806] Error if CONTAINS is present without SUBPROGRAM
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2006 10:05:00 -0000
- Subject: [Bug fortran/29806] Error if CONTAINS is present without SUBPROGRAM
- References: <bug-29806-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2006-11-13 10:05 -------
> Isn't this going to be allowed in F2008?
I checked 06-007r1.pdf and it is indeed allowed.
> (Perhaps it already is in F2003 -- I'm too lazy to check.)
No, it is not allowed in F2003. (See R numbers below)
> We should print an error message if strict standard conformance is requested,
> but since it is going to be valid code in the future, I think we can continue
> to support it.
This was also my idea.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29806