[Bug fortran/26801] New: -fbounds-check generates segfault
sfilippone at uniroma2 dot it
gcc-bugzilla@gcc.gnu.org
Wed Mar 22 12:32:00 GMT 2006
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
More information about the Gcc-bugs
mailing list