This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [F03] EXTENDS_TYPE_OF, CLASS IS and libgfortran


> I will correct this, and add a check to
> prevent this kind of mis-declaration.

[ibook-dhum] f90/bug% gfc -Wall /opt/gcc/gcc-4.5-work/gcc/testsuite/gfortran.dg/extends_type_of_1.f03
/opt/gcc/gcc-4.5-work/gcc/testsuite/gfortran.dg/extends_type_of_1.f03:9.29:

 intrinsic :: extends_type_of
                             1
Warning: Type specified for intrinsic function 'extends_type_of' at (1) is ignored

I think the line

 integer :: extends_type_of

can be deleted.

Cheers

Dominique


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