Hello,
there seems to be a problem compiling the attached source file with sh-elf-gcc:

/home/mstein/sim/sh-elf/build/./gcc/xgcc -B/home/mstein/sim/sh-elf/build/./gcc/
-nostdinc -B/home/mstein/sim/sh-elf/build/sh-elf/newlib/ -isystem
/home/mstein/sim/sh-elf/build/sh-elf/newlib/targ-include -isystem
/n/07/mstein/combined-trunk/newlib/libc/include
-B/n/07/mstein/cross-local/sh-elf-new/sh-elf/bin/
-B/n/07/mstein/cross-local/sh-elf-new/sh-elf/lib/ -isystem
/n/07/mstein/cross-local/sh-elf-new/sh-elf/include -isystem
/n/07/mstein/cross-local/sh-elf-new/sh-elf/sys-include
-L/home/mstein/sim/sh-elf/build/./ld -O2 -g -O2 -m2a -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I/n/07/mstein/combined-trunk/libgcc -I/n/07/mstein/combined-trunk/libgcc/.
-I/n/07/mstein/combined-trunk/libgcc/../gcc
-I/n/07/mstein/combined-trunk/libgcc/../include  -DHAVE_CC_TLS -o _divdi3.o -MT
_divdi3.o -MD -MP -MF _divdi3.dep -DL_divdi3 -c
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c \
  -fexceptions -fnon-call-exceptions 
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c: In function '__divdi3':
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c:1102: internal compiler
error: in create_pre_exit, at mode-switching.c:373
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

host gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/mstein/svn/trunk/configure --enable-languages=c
--disable-nls --prefix=/n/07/mstein/host-gcc/trunk-2007-07-07
Thread model: posix
gcc version 4.3.0 20070706 (experimental)

xgcc -v
Using built-in specs.
Target: sh-elf
Configured with: /n/07/mstein/combined-trunk/configure --target=sh-elf
--prefix=/n/07/mstein/cross-local/sh-elf-new
--with-sysroot=/n/07/mstein/cross-local/sh-elf --enable-languages=c
--disable-nls --disable-build-warnings --with-newlib --with-gnu-as -with-gnu-ld
Thread model: single
gcc version 4.3.0 20070706 (experimental)

Tested revision: 126426
Last succesfull build revision: 126390


-- 
           Summary: [sh] ICE in create_pre_exit, at mode-switching.c:373
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mstein at phenix dot rootshell dot be
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-elf


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

Reply via email to