[Bug fortran/30793] New: Segfault on calling a function returning a pointer
sfilippone at uniroma2 dot it
gcc-bugzilla@gcc.gnu.org
Wed Feb 14 18:08:00 GMT 2007
The attached code generates a segfault with no apparent reason.
[sfilippo@localhost NEMO]$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2-20070207/configure --prefix=/usr/local/gcc42
--with-mpfr=/home/travel/GCC/BUILDS/mpfr
--with-gmp-lib=/home/travel/GCC/BUILDS/gmp/lib/
--with-gmp=/home/travel/GCC/BUILDS/gmp
Thread model: posix
gcc version 4.2.0 20070207 (prerelease)
[sfilippo@localhost NEMO]$ gfortran -o test_pnt test_pnt.f90
[sfilippo@localhost NEMO]$ ./test_pnt
Segmentation fault
--
Summary: Segfault on calling a function returning a pointer
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 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=30793
More information about the Gcc-bugs
mailing list