[Bug target/44067] New: internal compiler error: in rs6000_split_multireg_move, at config/rs6000/rs6000.c:16713

raj dot khem at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 10 21:18:00 GMT 2010


gcc 4.5.0 fails to build libgcc when configured as follows

/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/configure
--build=x86_64-linux --host=x86_64-linux --target=powerpc-oe-linux-gnuspe
--prefix=/scratch/oe/calamari/cross/ppce500v2
--exec_prefix=/scratch/oe/calamari/cross/ppce500v2
--bindir=/scratch/oe/calamari/cross/ppce500v2/bin
--sbindir=/scratch/oe/calamari/cross/ppce500v2/bin
--libexecdir=/scratch/oe/calamari/cross/ppce500v2/libexec
--datadir=/scratch/oe/calamari/cross/ppce500v2/share
--sysconfdir=/scratch/oe/calamari/cross/ppce500v2/etc
--sharedstatedir=/scratch/oe/calamari/cross/ppce500v2/com
--localstatedir=/scratch/oe/calamari/cross/ppce500v2/var
--libdir=/scratch/oe/calamari/cross/ppce500v2/lib
--includedir=/scratch/oe/calamari/cross/ppce500v2/include
--oldincludedir=/scratch/oe/calamari/cross/ppce500v2/include
--infodir=/scratch/oe/calamari/cross/ppce500v2/share/info
--mandir=/scratch/oe/calamari/cross/ppce500v2/share/man
--with-local-prefix=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe/usr
--with-newlib --without-headers --disable-shared --disable-threads
--disable-multilib --disable-__cxa_atexit --enable-languages=c
--program-prefix=powerpc-oe-linux-gnuspe-
--with-sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe
--with-build-sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe
--disable-libmudflap --disable-libgomp --disable-libssp
--enable-decimal-float=no --program-prefix=powerpc-oe-linux-gnuspe-


It fails in libgcc 

/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/build.x86_64-linux.powerpc-oe-linux-gnuspe/./gcc/xgcc
-B/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/build.x86_64-linux.powerpc-oe-linux-gnuspe/./gcc/
-mcpu=8548 -mspe=yes -mabi=spe -mfloat-gprs=double
-isystem/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe/usr/include
-B/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/bin/
-B/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/lib/ -isystem
/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/include -isystem
/scratch/oe/calamari/cross/ppce500v2/powerpc-oe-linux-gnuspe/sys-include
--sysroot=/scratch/oe/calamari/sysroots/ppce500v2-oe-linux-gnuspe  
-isystem/scratch/oe/calamari/sysroots/x86_64-linux/usr/include -O2 -g -O2 
-isystem/scratch/oe/calamari/sysroots/x86_64-linux/usr/include -O2 -g -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../.././gcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/.
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc
-I/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../include
 -DHAVE_CC_TLS  -o _powidf2.o -MT _powidf2.o -MD -MP -MF _powidf2.dep
-DL_powidf2 -c
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c:
In function ‘__powidf2’:
/scratch/oe/calamari/work/ppce500v2-oe-linux-gnuspe/gcc-cross-initial-4.5.0-r0/gcc-4.5.0/libgcc/../gcc/libgcc2.c:1739:1:
internal compiler error: in rs6000_split_multireg_move, at
config/rs6000/rs6000.c:16713
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


If I remove -mfloat-gprs=double from the commandline then the ICE does not
happen.


-- 
           Summary: internal compiler error: in rs6000_split_multireg_move,
                    at config/rs6000/rs6000.c:16713
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: powerpc-oe-linux-gnuspe


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44067



More information about the Gcc-bugs mailing list