This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19928] New: Reference of constant derived type component causes failure
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2005 16:32:08 -0000
- Subject: [Bug fortran/19928] New: Reference of constant derived type component causes failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
>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