This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37412] New: No error on repeated declaration
- From: "jonasson at hi dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2008 20:51:25 -0000
- Subject: [Bug fortran/37412] New: No error on repeated declaration
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following program compiles OK with no message that st is being redefined.
function fun() result(st)
character(2) st
character(1) st
st = '1'
end function fun
--
Summary: No error on repeated declaration
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jonasson at hi dot is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37412