This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35475] gfortran fails to compile valid code with ICE erro in fold-const.c
- From: "s dot binnie at ucl dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2008 17:34:06 -0000
- Subject: [Bug fortran/35475] gfortran fails to compile valid code with ICE erro in fold-const.c
- References: <bug-35475-15854@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 <URL:http://gcc.gnu.org/bugs.html> 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