This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29806] New: 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: 11 Nov 2006 22:44:27 -0000
- Subject: [Bug fortran/29806] New: Error if CONTAINS is present without SUBPROGRAM
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following is invalid Fortran as an internal-subprogram (R1101,R210) or
module-subprogram (R1107) is needed with CONTAINS.
module x
contains
end module x
program y
contains
end program y
--
Summary: Error if CONTAINS is present without SUBPROGRAM
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29806