http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47543
Summary: ICE: in extract_insn, at recog.c:2109 when building zlib Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: silver...@gmail.com Target: arm-none-eabi trunk r169392 arm-none-eabi-gcc (alias as arm-gcc) cross build on linux arm-gcc -mthumb -O2 -c reduced_zlib.c -- ICE arm-gcc -O2 -c reduced_zlib.c -- OK arm-gcc -mthumb -Os -c reduced_zlib.c -- OK ~$ arm-gcc -v -mthumb -O2 -c reduced_zlib.c Using built-in specs. COLLECT_GCC=arm-gcc COLLECT_LTO_WRAPPER=/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../libexec/gcc/arm/4.6.0/lto-wrapper Target: arm Configured with: ../../../gcc_trunk/configure --target=arm --prefix=/platform/cross-on-linux/mingw --disable-threads --disable-tls --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion='General ARM GCC' --enable-multilib --with-newlib --with-headers=/home/starlight/src/gnu-toolchain/newlib/newlib/libc/include --disable-nls --enable-languages=c,c++ --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --with-libelf=/usr/local --disable-plugin --disable-libstdcxx-pch --enable-cloog-backend=isl --disable-cloog-version-check Thread model: single gcc version 4.6.0 20110129 (experimental) mingw-20090616 (General ARM GCC) COLLECT_GCC_OPTIONS='-v' '-mthumb' '-O2' '-c' /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../libexec/gcc/arm/4.6.0/cc1 -quiet -v -imultilib wc4-eabi-lt-nofp -iprefix /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/ -D__USES_INITFINI__ reduced_zlib.c -quiet -dumpbase reduced_zlib.c -mthumb -auxbase reduced_zlib -O2 -version -o /tmp/ccVEyLeu.s GNU C (General ARM GCC) version 4.6.0 20110129 (experimental) mingw-20090616 (arm) compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring duplicate directory "/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/include" ignoring duplicate directory "/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/include-fixed" ignoring duplicate directory "/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/sys-include" ignoring duplicate directory "/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/include" #include "..." search starts here: #include <...> search starts here: /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/include /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/include-fixed /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/../../../../arm/sys-include /home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/../../../../arm/include End of search list. GNU C (General ARM GCC) version 4.6.0 20110129 (experimental) mingw-20090616 (arm) compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 6359df9e8f9ff1f7e9bf32c68a88d49d reduced_zlib.c: In function 'inflate': reduced_zlib.c:286:1: error: unrecognizable insn: (insn 918 917 916 57 (set (reg:QI 3 r3) (mem/s:QI (plus:SI (reg:SI 2 r2) (const_int 60 [0x3c])) [4 MEM[(struct inflate_state *)D.2192_55].length+0 S1 A32])) reduced_zlib.c:252 -1 (nil)) reduced_zlib.c:286:1: internal compiler error: in extract_insn, at recog.c:2109 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.