This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33897] [4.1/4.2/4.3 Regression] Entries and modules
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2007 17:41:44 -0000
- Subject: [Bug fortran/33897] [4.1/4.2/4.3 Regression] Entries and modules
- References: <bug-33897-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jv244 at cam dot ac dot uk 2007-10-25 17:41 -------
this works with gcc_4_0_branch, which makes this a regression.
MODULE M1
CONTAINS
SUBROUTINE S2()
ENTRY E2()
write(6,*) 'C'
END SUBROUTINE S2
END MODULE M1
SUBROUTINE S2()
ENTRY E2()
write(6,*) 'E'
END SUBROUTINE S2
USE M1
CALL E2()
END
--
jv244 at cam dot ac dot uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.0.4
Summary|Should an ENTRY in a |[4.1/4.2/4.3 Regression]
|contained function be |Entries and modules
|visible from another |
|contained routine? |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33897