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/m2a/newlib/ -isystem /home/mstein/sim/sh-elf/build/sh-elf/m2a/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 -m2a -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.15.0\" -DPACKAGE_STRING=\"newlib\ 1.15.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I/n/07/mstein/combined-trunk/newlib/libc/stdio -O2 -fno-builtin -O2 -g -O2 -m2a -c -o lib_a-mktemp.o `test -f 'mktemp.c' || echo '/n/07/mstein/combined-trunk/newlib/libc/stdio/'`mktemp.c /n/07/mstein/combined-trunk/newlib/libc/stdio/mktemp.c: In function '_gettemp': /n/07/mstein/combined-trunk/newlib/libc/stdio/mktemp.c:194: internal compiler error: in cse_extended_basic_block, at cse.c:6117 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: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) 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,c++ --disable-nls --disable-build-warnings --with-newlib --with-gnu-as -with-gnu-ld Thread model: single gcc version 4.3.0 20070623 (experimental) Tested revision: 125976 Last succesfull build revision: 125959 -- Summary: [sh] ICE in cse_extended_basic_block, at cse.c:6117 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-gnu-linux GCC host triplet: i686-pc-gnu-linux GCC target triplet: sh-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32479