This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29699] New: ICE in trans-decl.c
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2006 19:10:29 -0000
- Subject: [Bug fortran/29699] New: ICE in trans-decl.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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