http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47728
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |ice-on-invalid-code
Last reconfirmed| |2011.02.14 10:06:20
CC| |janus at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|Assigning an object of one |[OOP] ICE on invalid CLASS
|type to a class variable |declaration
|leads to an ICE |
--- Comment #1 from janus at gcc dot gnu.org 2011-02-14 10:06:20 UTC ---
Removing the last line ("object(1) = rectangle ..."), one gets:
class(shape), dimension(2) :: object
1
Error: CLASS variable 'object' at (1) must be dummy, allocatable or pointer