This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29699] New: ICE in trans-decl.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]