This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37412] No error on repeated declaration
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2008 21:15:01 -0000
- Subject: [Bug fortran/37412] No error on repeated declaration
- References: <bug-37412-16679@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dominiq at lps dot ens dot fr 2008-09-07 21:15 -------
Confirmed with 4.2.3 and 4.3.2, with 4.4.0 (trunk) I get:
[ibook-dhum] f90/bug% gfc -Wall pr37412.f90
pr37412.f90:3.17:
character(1) st
1
Warning: Symbol 'st' at (1) already has basic type of CHARACTER
Now I am not sure which statement is the winner. Is this defined somewhere?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37412