This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/20373] INTRINSIC symbols can be given the wrong type



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]