[Bug fortran/29699] New: ICE in trans-decl.c
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 3 19:10:00 GMT 2006
The following program gives an ICE with todays 4.2-branch gfortran.
(I have to find out why gcc-trunk doesn't compile at the moment, then I will
check also gcc-trunk.)
I found the error with: ftp://ftp.nag.co.uk/sc22wg5/ISO_VARYING_STRING/
----------------
PROGRAM vocabulary_word_count
IMPLICIT NONE
TYPE VARYING_STRING
CHARACTER,DIMENSION(:),ALLOCATABLE :: chars
ENDTYPE VARYING_STRING
INTEGER :: list_size=200
CONTAINS
SUBROUTINE extend_lists
type(VARYING_STRING),DIMENSION(list_size) :: vocab_swap
ENDSUBROUTINE extend_lists
ENDPROGRAM vocabulary_word_count
----------------
vocab.f95: In function 'extend_lists':
vocab.f95:9: internal compiler error: in gfc_get_symbol_decl, at
fortran/trans-decl.c:861
--
Summary: ICE in trans-decl.c
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29699
More information about the Gcc-bugs
mailing list