This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25681] ICE with len of array of derived type
- From: "pinskia 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 Jan 2006 16:47:43 -0000
- Subject: [Bug fortran/25681] ICE with len of array of derived type
- References: <bug-25681-11973@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-05 16:47 -------
Confirmed, reduced testcase:
subroutine Derived()
type Deriv
character(len=9) :: class
end type Deriv
type(Deriv), dimension(2) :: f_2d
i = len(f_2d%class)
end subroutine Derived
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Keywords| |ice-on-valid-code
Known to fail|4.0.0 |
Summary|Segmentation fault, when |ICE with len of array of
|accessing len(attribute) of |derived type
|multidimensional object |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25681