This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26801] New: -fbounds-check generates segfault
- From: "sfilippone at uniroma2 dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2006 12:32:22 -0000
- Subject: [Bug fortran/26801] New: -fbounds-check generates segfault
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Attached program generates a segfault when compiled with bounds-check enabled.
There is nothing strange in the code that I can see (though of course I might
be proven wrong).
[sfilippo@localhost sfilippo]$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2-20060318/configure --prefix=/usr/local/gfortran
Thread model: posix
gcc version 4.2.0 20060318 (experimental)
[sfilippo@localhost sfilippo]$ gfortran -o assoc assoc.f90
[sfilippo@localhost sfilippo]$ ./assoc
F
T
F
F
T
T
[sfilippo@localhost sfilippo]$ gfortran -o assoc assoc.f90 -fbounds-check
[sfilippo@localhost sfilippo]$ ./assoc
F
T
Segmentation fault (core dumped)
--
Summary: -fbounds-check generates segfault
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sfilippone at uniroma2 dot it
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26801