From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21966 invoked by alias); 21 Dec 2007 04:47:13 -0000 Received: (qmail 21888 invoked by uid 48); 21 Dec 2007 04:46:57 -0000 Date: Fri, 21 Dec 2007 04:47:00 -0000 Subject: [Bug fortran/34545] New: ICE when compiling Fortran 95 code X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jon_d_r at msn dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg01972.txt.bz2 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 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