[Bug fortran/46356] [OOP] Erroneous procedure/intent error and ICE for class dummy argument
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 8 09:32:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46356
--- Comment #2 from janus at gcc dot gnu.org 2010-11-08 09:32:26 UTC ---
Reduced test case:
IMPLICIT NONE
TYPE :: ParentVector
INTEGER :: a
END TYPE ParentVector
CONTAINS
SUBROUTINE vector_operation(pvec)
CLASS(ParentVector), INTENT(INOUT) :: pvec(:)
print *,pvec(1)%a
END SUBROUTINE
END
Note: This error is due to the fact that gfortran currently does not really
support CLASS arrays (which hopefully will change soon).
More information about the Gcc-bugs
mailing list