This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ICE: in explow.c:326 while compiling libgfortan
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 20 Jul 2007 14:39:54 +0200
- Subject: ICE: in explow.c:326 while compiling libgfortan
Hi,
I noticed an ICE occuring while libgfortan is build for target
x86_64-pc-mingw32.
/bin/sh ./libtool --mode=compile
/vol/d/source/gcc-rep/gcc/build/./gcc/gfortran
-B/vol/d/source/gcc-rep/gcc/build/./gcc/
-L/vol/d/source/gcc-rep/gcc/build/x86_6
4-pc-mingw32/winsup/mingw
-L/vol/d/source/gcc-rep/gcc/build/x86_64-pc-mingw32/wi
nsup/w32api/lib -isystem /vol/d/source/gcc-rep/gcc/winsup/mingw/include
-isystem
/vol/d/source/gcc-rep/gcc/winsup/w32api/include
-B/usr/local/x86_64-pc-mingw32/
bin/ -B/usr/local/x86_64-pc-mingw32/lib/ -isystem
/usr/local/x86_64-pc-mingw32/i
nclude -isystem /usr/local/x86_64-pc-mingw32/sys-include -I . -Wall
-fno-repack-
arrays -fno-underscoring -fallow-leading-underscore -g -O2 -c -o
selected_real_k
ind.lo `test -f 'intrinsics/selected_real_kind.f90' || echo
'../../../libgfortra
n/'`intrinsics/selected_real_kind.f90
libtool: compile: /vol/d/source/gcc-rep/gcc/build/./gcc/gfortran
-B/vol/d/sourc
e/gcc-rep/gcc/build/./gcc/
-L/vol/d/source/gcc-rep/gcc/build/x86_64-pc-mingw32/w
insup/mingw
-L/vol/d/source/gcc-rep/gcc/build/x86_64-pc-mingw32/winsup/w32api/li
b -isystem /vol/d/source/gcc-rep/gcc/winsup/mingw/include -isystem
/vol/d/source
/gcc-rep/gcc/winsup/w32api/include -B/usr/local/x86_64-pc-mingw32/bin/
-B/usr/lo
cal/x86_64-pc-mingw32/lib/ -isystem /usr/local/x86_64-pc-mingw32/include
-isyste
m /usr/local/x86_64-pc-mingw32/sys-include -I . -Wall -fno-repack-arrays
-fno-un
derscoring -fallow-leading-underscore -g -O2 -c
../../../libgfortran/intrinsics/
selected_real_kind.f90 -DDLL_EXPORT -o .libs/selected_real_kind.o
../../../libgfortran/intrinsics/selected_real_kind.f90: In function
'_gfortran_s
elected_real_kind':
../../../libgfortran/intrinsics/selected_real_kind.f90:22: internal
compiler err
or: in convert_memory_address, at explow.c:326
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [selected_real_kind.lo] Error 1
make[3]: Leaving directory
`/vol/d/source/gcc-rep/gcc/build/x86_64-pc-mingw32/li
bgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/vol/d/source/gcc-rep/gcc/build/x86_64-pc-mingw32/li
bgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/vol/d/source/gcc-rep/gcc/build'
make: *** [all] Error 2
It seems to be, that somewhere here a pointer is truncated to an 32-bit
type for some reason and pass this SImode to the memory_addres, which
expects for this target a DImode type (I think this happens in the backend
but I am not certain about ).
May somebody can help about this
I used a typical cross-compilation and configured gcc just by
--target=x86_64-pc-mingw32
I used the current trunk version of binutils, gcc 4.3, and the w64 crt
available from mingw.org
Regards,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer:
Ulrike DÃhler, Manuela Kluger