>From Richard Maine, editor of the F2003 standard
subroutine open_th_read_unc2
type my_type
character :: signal_names(10)*16
end type
type(my_type) :: gen
gen%signal_names = ''
write (*,*) gen%signal_names(:)(1:4)
end subroutine open_th_read_unc2
bug4.f90: In function 'open_th_read_unc2':
bug4.f90:7: internal compiler error: in gfc_conv_constant, at
fortran/trans-const.c:344
--
Summary: Reference of constant derived type component causes
failure
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sgk at troutmask dot apl dot washington dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19928