This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19017] New: ICE in gfc_trans_scalar_assign
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 17:26:31 -0000
- Subject: [Bug fortran/19017] New: ICE in gfc_trans_scalar_assign
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The included Fortran program will generate an ICE when compiling. I found it on
IA64 but I do not believe it is target specific.
MODULE material_
TYPE :: material_type
CHARACTER(32) Label ! Material description
CHARACTER(12) PRNAME(22) ! Unique property names
END TYPE
TYPE (material_type), DIMENSION(:), ALLOCATABLE, SAVE :: MATERIAL
END MODULE material_
SUBROUTINE ALLOCATE_STORAGE
USE material_
ALLOCATE (MATERIAL(1:NUMMT), STAT=IALLOC_FLAG)
DO i = 1,NUMMT
MATERIAL(i) = material_type (' ',(/(' ',j=1,22)/))
ENDDO
RETURN
END
--------------
% gfortran -c x.f90
x.f90: In function 'allocate_storage':
x.f90:12: internal compiler error: in gfc_trans_scalar_assign, at fortran/trans-
expr.c:2005
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE in gfc_trans_scalar_assign
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sje at cup dot hp dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-hp-hpux11.23
GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19017