[Bug fortran/47728] [OOP] ICE on invalid CLASS declaration

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 14 10:23:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47728

--- Comment #4 from janus at gcc dot gnu.org 2011-02-14 10:16:33 UTC ---
(In reply to comment #3)
> shouldn't that read:
> 
> class(shape), dimension(:), allocatable :: object
>                          ^
>                          | no fixed dimension

Yes, in principle it should. However, currently we boldly reject any kind of
dimensionful class variable, before even getting to the point of checking the
dimensions.



More information about the Gcc-bugs mailing list