This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16487] New: gfortran core dump on big array
- From: "olchansk at panix dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2004 02:17:32 -0000
- Subject: [Bug fortran/16487] New: gfortran core dump on big array
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gfortran version "gcc version 3.5.0 20040710 (experimental)" dumps core on this
test program:
[olchansk@tw15 gfortran_test]$ more test_bigarray.f90
module foo
!
! gfortran: Internal error: Segmentation fault (program f951)
! Please submit a full bug report.
! See <URL:http://gcc.gnu.org/bugs.html> for instructions.
!
! Error goes away if "=0" initializer is removed.
!
integer:: a(44,80,79) = 0
end module foo
[olchansk@tw15 gfortran_test]$ make test_bigarray.o
/triumfcs/trshare/olchansk/gcc-tree-ssa/install/bin/gfortran -x f95 -c -o
test_bigarray.o -O2 -g -Wall -Waliasing -Wline-truncation -Wsurprising
-Wunused-labels -fPIC -ffixed-line-length-132 test_bigarray.f90
gfortran: Internal error: Segmentation fault (program f951)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [test_bigarray.o] Error 1
[olchansk@tw15 gfortran_test]$ ls -l core.21563
-rw------- 1 olchansk users 16584704 Jul 11 19:14 core.21563
The core dump is garbled- it appears to show an infinite recursion at
"gt_ggc_mx_lang_tree_node (x_p=0x4046e960) at gt-fortran-f95-lang.h:155".
K.O.
--
Summary: gfortran core dump on big array
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: olchansk at panix dot com
CC: gcc-bugs at gcc dot gnu dot org
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=16487