[Bug fortran/47680] [OOP] ICE with polymorphic array elements as dummy
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 10 21:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47680
--- Comment #1 from janus at gcc dot gnu.org 2011-02-10 21:09:40 UTC ---
Actually I think it would be best to reject polymorphic arrays altogether for
the 4.6 release, i.e. throw an error as soon as we encounter something like
> class(t) :: x(4)
and tell the user that this feature is not yet supported.
This would convey a much cleaner message than the various ICEs one runs into at
present. For 4.7 we can then take out the error message again, and start
implementing polymorphic arrays.
More information about the Gcc-bugs
mailing list