[Bug fortran/34545] New: ICE when compiling Fortran 95 code
jon_d_r at msn dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 21 04:47:00 GMT 2007
Overview Description: ICE when compiling source code.
Steps to Reproduce: Download code from
http://www.k9shrink.com/kmeans.f90
and compile with
gfortran -Wall -v -save-temps kmeans.f90
What happens is ICE with segmentation fault.
Actual Results: ICE
Expected Results: compilation or list of warnings and errors encountered.
Build Date & Platform: 20070813, Windows Vista
Additional Information:
Platform is Windows Vista. gcc version 4.3.0 20070813 (experimental)
using gfortran
Source is available from http://www.k9shrink.com/kmeans.f90
I enter following compile command and get following response:
G:\fortran\KMeansClust>gfortran -v -Wall -save-temps kmeans.f90
Driving: gfortran -v -Wall -save-temps kmeans.f90 -lgfortranbegin -lgfortran
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/FX/local --with-ld=/mingw/bin/ld
-
-with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads
--disable-nls --build=i386-pc-mingw32 --enable-libgomp
Thread model: win32
gcc version 4.3.0 20070813 (experimental)
f951 kmeans.f90 -quiet -dumpbase kmeans.f90 -mtune=i386 -auxbase kmeans -Wall
-version -fintrinsic-modules-path finclude -o kmeans.
s
GNU F95 version 4.3.0 20070813 (experimental) (i386-pc-mingw32)
compiled by GNU C version 4.3.0 20070813 (experimental), GMP version
4.2.1, MPFR version 2.2.1-p5.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
kmeans.f90: In function 'MAIN__':
kmeans.f90:2054: 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.
Code compiles and runs with Lahey/Fujitsu LF95 Version 7.1 Win32 compiler
(although gfortran finds valid problems whilst LF95 does not, so this may not
mean much).
Pardon if this is not best format, this is my first submission.
--
Summary: ICE when compiling Fortran 95 code
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jon_d_r at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34545
More information about the Gcc-bugs
mailing list