home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/gcc/xgcc -B/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/gcc/ -nostdinc -B/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/arm-rtems4.7/newlib/ -isystem /home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/arm-rtems4.7/newlib/targ-include -isystem /home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/gcc-3.3.3/newlib/libc/include -B/opt/rtems-4.7/arm-rtems4.7/bin/ -B/opt/rtems-4.7/arm-rtems4.7/lib/ -isystem /opt/rtems-4.7/arm-rtems4.7/include -O2 -I../../gcc-3.3.3/gcc/../newlib/libc/sys/rtems/include -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -Dinhibit_libc -fno-inline -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include -DFINE_GRAINED_LIBRARIES -mthumb -DL_pack_df -c dp-bit.c -o libgcc/thumb/_pack_df.o dp-bit.c: In function `__pack_d': dp-bit.c:411: error: insn does not satisfy its constraints: (insn:HI 333 331 561 0x401b7ec8 (set (reg:HI 3 r3 [109]) (mem:HI (label_ref 584) [0 S2 A16])) 169 {*thumb_movhi_insn} (insn_list:REG_DEP_ANTI 330 (insn_list:REG_DEP_OUTPUT 329 (nil))) (expr_list:REG_EQUIV (const_int 2047 [0x7ff]) (nil))) dp-bit.c:411: internal compiler error: in extract_constrain_insn_cached, at recog.c:2090
Created attachment 5851 [details] preprocessed failure case I extracted the failing file from the full build and this is the preprocessed output along with a smaller command line. It compiles at -O1 but gives the ICE at -O2. ./xgcc -B./ -B/opt/rtems-4.7/arm-rtems4.7/bin/ -O2 -mthumb -c pr14405test.c
regression from 3.3.2. I verified the test case compiles with the same binutils and older arm-rtems-gcc.
This is a dup of bug 14166. *** This bug has been marked as a duplicate of 14166 ***