This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30284] New: ICE in gfc_add_modify, at fortran/trans.c:159
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2006 21:22:16 -0000
- Subject: [Bug fortran/30284] New: ICE in gfc_add_modify, at fortran/trans.c:159
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
here's another one:
% cat gfcbug51.f90
program gfcbug51
implicit none
type date_t
character(len=12) :: date = '200612231200' ! yyyymmddhhmm
end type date_t
type year_t
integer :: year = 0
end type year_t
type(date_t) :: file(1)
type(year_t) :: time(1)
read (file% date(1:4),'(i4)') time% year
print *, time% year
end program gfcbug51
% gfc gfcbug51.f90
gfcbug51.f90: In function 'MAIN__':
gfcbug51.f90:1: internal compiler error: in gfc_add_modify, at
fortran/trans.c:1
59
Cheers,
-ha
--
Summary: ICE in gfc_add_modify, at fortran/trans.c:159
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30284