[Bug fortran/37412] No error on repeated declaration
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 21:01:00 GMT 2009
------- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-08 21:01 -------
(In reply to comment #4)
> Maybe I could change this warning into an error even for non-standard
> conforming mode in case the length or a kind parameter differs. What
> do you think?
I assume, this happened at some point. Current 4.5.0 20091208 gives:
$> gfortran-svn pr37412.f90
pr37412.f90:3.17:
character(1) st
1
Error: Symbol 'st' at (1) already has basic type of CHARACTER
I believe this is correct. Closing.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37412
More information about the Gcc-bugs
mailing list