------- Comment #2 from s dot binnie at ucl dot ac dot uk 2008-03-05 17:34 ------- (In reply to comment #0) > gfortran fails to compile valid code, leads to ICE segfault, Code compiles fine > under 4.1.2 . > > command used: > gfortran -v -save-temps -c -ffree-form ice.f > > OUTPUT: > > Using built-in specs. > Target: i686-pc-linux-gnu > Configured with: ../gcc-4.2.3/configure --prefix=/scratch/sjb/local > Thread model: posix > gcc version 4.2.3 > /scratch/sjb/local/libexec/gcc/i686-pc-linux-gnu/4.2.3/f951 ice.f -quiet > -dumpbase ice.f -mtune=generic -auxbase ice -version -ffree-form -I > /scratch/sjb/local/lib/gcc/i686-pc-linux-gnu/4.2.3/finclude -o ice.s > GNU F95 version 4.2.3 (i686-pc-linux-gnu) > compiled by GNU C version 4.2.3. > GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129260 > ice.f: In function ‘subtwo’: > ice.f:51: internal compiler error: in fold_convert, at fold-const.c:2248 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > Sorry it's not a segfault (that was yesterdays problem...) as the output shows it's a problem with fold-const.c . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35475