This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34657] program-unit MY_SUB imports symbol MY_SUB
- 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: 4 Jan 2008 07:29:50 -0000
- Subject: [Bug fortran/34657] program-unit MY_SUB imports symbol MY_SUB
- References: <bug-34657-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-01-04 07:29 -------
NAG f95 and g95 print an error:
Error: USE TEST_MOD in program-unit MY_SUB imports symbol MY_SUB
Error: Module 'test_mod' at (1) redefines the current program unit 'my_sub'
ifort prints nothing by default and with -stand f95:
Warning: An interface-block in a subprogram shall not contain an
interface-body for a procedure defined by that subprogram. [MY_SUB]
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-01-04 07:29:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34657