This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34657] New: program-unit MY_SUB imports symbol MY_SUB
- 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: 3 Jan 2008 20:12:27 -0000
- Subject: [Bug fortran/34657] New: program-unit MY_SUB imports symbol MY_SUB
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95', but does not do so with
gcc version 4.3.0 20080103 (experimental) [trunk revision 131300] (GCC)
module test_mod
interface
subroutine my_sub (a)
real a
end subroutine
end interface
end module
subroutine my_sub (a)
use test_mod
real a
print *, a
end subroutine
END
--
Summary: program-unit MY_SUB imports symbol MY_SUB
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34657