On an i686-pc-linux-gnu host, I configure GCC 4.3 (revision 120287) like this:
../../src/gcc/configure --enable-sim --with-newlib --disable-nls
--enable-e500_double --prefix=${HOME} --enable-checking=yes,rtl
--disable-threads --disable-shared --without-long-double-128
--target=powerpc-unknown-eabispe

(I also tried --with-long-double-128 as well as not specifying this option at
all with the same result.)

The build fails compiling libgcc/__powitf2.o:

/home/rask/build/gcc-ppc/./gcc/xgcc -B/home/rask/build/gcc-ppc/./gcc/ -nostdinc
-B/home/rask/build/gcc-ppc/powerpc-unknown-eabispe/newlib/ -isystem
/home/rask/build/gcc-ppc/powerpc-unknown-eabispe/newlib/targ-include -isystem
/home/rask/src/gcc/newlib/libc/include
-B/home/rask/powerpc-unknown-eabispe/bin/
-B/home/rask/powerpc-unknown-eabispe/lib/ -isystem
/home/rask/powerpc-unknown-eabispe/include -isystem
/home/rask/powerpc-unknown-eabispe/sys-include -L/home/rask/build/gcc-ppc/./ld
-O2  -O2 -g -O2  -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include   -specs=ldblspecs -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../src/gcc/gcc
-I../../../src/gcc/gcc/. -I../../../src/gcc/gcc/../include
-I../../../src/gcc/gcc/../libcpp/include 
-I../../../src/gcc/gcc/../libdecnumber -I../libdecnumber -DL_powitf2 -c
../../../src/gcc/gcc/libgcc2.c -o libgcc/./_powitf2.o
../../../src/gcc/gcc/libgcc2.c: In function '__powitf2':
../../../src/gcc/gcc/libgcc2.c:1735: internal compiler error: in gen_reg_rtx,
at emit-rtl.c:770

This is a regression from GCC 4.1, where GCC built for this target:
<URL:http://gcc.gnu.org/ml/gcc-testresults/2005-04/msg01907.html>


-- 
           Summary: [regression] Build failure in libgcc2 powitf2 with ICE
                    in gen_reg_rtx
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rask at sygehus dot dk
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-eabispe


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

Reply via email to