[Bug fortran/29813] -std=F95/F2003: Warn or error when using a non-declared variable with implicit none
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 21:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29813
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |mikael at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> 2011-09-07 21:42:17 UTC ---
I get with 4.7:
comment_0.f90:3.19:
real :: array(n)
1
Error: Extension: Symbol 'n' is used before it is typed at (1)
comment_0.f90:1.23:
subroutine test(n,array)
1
Error: Symbol 'array' at (1) has no IMPLICIT type
Error message was introduced at revision 139425:
http://gcc.gnu.org/viewcvs?view=revision&revision=139425
This is a duplicate of PR 34228.
*** This bug has been marked as a duplicate of bug 34228 ***
More information about the Gcc-bugs
mailing list