This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20373] INTRINSIC symbols can be given the wrong type
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2007 08:32:48 -0000
- Subject: [Bug fortran/20373] INTRINSIC symbols can be given the wrong type
- References: <bug-20373-8513@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from burnus at gcc dot gnu dot org 2007-05-31 08:32 -------
Other compilers give only a warning.
NAG f95 does for:
integer :: len
intrinsic len
Warning: yy.f90, line 9: Intrinsic function LEN explicitly typed
and for
real :: len
intrinsic len
Warning: yy.f90, line 9: Type declaration for generic intrinsic LEN ignored
I think it makes sense to have the first warning always shown. For the second
one, maybe it should only be shown using some -W* ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20373