This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30701] New: Segfault on discontinued DATA statement
- From: "imre dot bartfai at chello dot hu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2007 18:28:22 -0000
- Subject: [Bug fortran/30701] New: Segfault on discontinued DATA statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Initiate command line:
======================
gfortran-4.1 -v -O2 -c test.f95
Resultant output:
=================
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
/usr/lib/gcc/i486-linux-gnu/4.1.2/f951 test.f95 -quiet -dumpbase test.f95
-mtune=i686 -auxbase test -O2 -version -o test.s
GNU F95 version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) (i486-linux-gnu)
compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21).GGC heuristics: --param ggc-min-expand=63 --param
ggc-min-heapsize=63563
In file test.f95:4
k / 0 /, k1 / 1 /,
1
Error: Syntax error in DATA statement at (1)
In file test.f95:5
j / 0.0D0 /
1
Error: Unclassifiable statement at (1)
test.f95:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Source text:
============
PROGRAM test
REAL (kind=8) j
data i / 0 /, &
k / 0 /, k1 / 1 /,
j / 0.0D0 /
STOP
END program test
--
Summary: Segfault on discontinued DATA statement
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: imre dot bartfai at chello dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30701