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/13679] New: ICE in fortran/trans-types.c:584


gfortran from January 14 crashes on the following code:

--- begin code

module linebufmod
implicit none
private

public linebuf, linebuf_add

type linebuf
  character(len=80), dimension(:), pointer :: data=>NULL()
end type linebuf

contains

subroutine linebuf_add (buf)
  type(linebuf), intent(inout) :: buf
end subroutine linebuf_add

end module linebufmod

--- end code

~/tmp>gfortran -v -c bug1.f90
Reading specs from
/afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: /scratch/gcc-ssa/configure
--prefix=/afs/mpa/data/martin/ugcc-ssa --enable-languages=c++,f95
Thread model: posix
gcc version 3.5-tree-ssa 20040114 (merged 20040102)
 /afs/mpa/data/martin/ugcc-ssa/libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/f951
bug1.f90 -quiet -dumpbase bug1.f90 -mtune=pentiumpro -auxbase bug1 -version -o
/tmp/ccLAIftD.s
GNU F95 version 3.5-tree-ssa 20040114 (merged 20040102) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20040114 (merged 20040102).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bug1.f90:0: internal compiler error: in gfc_get_dtype_cst, at
fortran/trans-types.c:584
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE in fortran/trans-types.c:584
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org,martin at mpa-garching
                    dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13679


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