This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41587] New: [OOP] ICE with ALLOCATABLE CLASS components
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2009 13:31:06 -0000
- Subject: [Bug fortran/41587] New: [OOP] ICE with ALLOCATABLE CLASS components
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
type t0
integer :: j = 42
end type t0
type t
integer :: i
class(t0), allocatable :: foo(3)
end type t
Is invalid. the "foo(3)" shall be "foo(:)" as "foo" is allocatable.
--
Summary: [OOP] ICE with ALLOCATABLE CLASS components
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41587