From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24654 invoked by alias); 5 Mar 2008 17:34:55 -0000 Received: (qmail 24444 invoked by uid 48); 5 Mar 2008 17:34:06 -0000 Date: Wed, 05 Mar 2008 17:34:00 -0000 Message-ID: <20080305173406.24443.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35475] gfortran fails to compile valid code with ICE erro in fold-const.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "s dot binnie at ucl dot ac dot uk" 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: 2008-03/txt/msg00335.txt.bz2 ------- 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