[Bug fortran/16919] New: ICE with derived type and array constructor
pbrook at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 8 14:22:00 GMT 2004
Derived type constructors containing array constructors don't work:
program myprog
integer i
type t
integer, dimension(5) :: a
end type
type (t) :: v
v = t((/1, 2, 3, 4, 5/))
v = t((/(i, i=1,5)/))
end program
Gives:
trans-expr.c:1365: gfc_conv_array_constructor_expr: Assertion `se->ss !=
((void *)0) && se->ss != gfc_ss_terminator' failed.
--
Summary: ICE with derived type and array constructor
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pbrook at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16919
More information about the Gcc-bugs
mailing list