http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934
Bug ID: 58934 Summary: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: build, ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hp at gcc dot gnu.org CC: jamborm at gcc dot gnu.org Host: x86_64-unknown-linux-gnu Target: cris-axis-elf Created attachment 31115 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31115&action=edit Repeat as ./cc1 -fpreprocessed -O2 -o dtoa.s dtoa.i Revision r204205 caused the build for cris-elf to fail as follows: /tmp/break20131030_05/gccobj/./gcc/xgcc -B/tmp/break20131030_05/gccobj/./gcc/ -nostdinc -B/tmp/break20131030_05/gccobj/cris-elf/v8/newlib/ -isystem /tmp/break20131030_05/gccobj/cris-elf/v8/newlib/targ-include -isystem /tmp/break20131030_05/gcc/newlib/libc/include -B/tmp/break20131030_05/gccobj/cris-elf/v8/libgloss/cris -L/tmp/break20131030_05/gccobj/cris-elf/v8/libgloss/libnosys -L/tmp/break20131030_05/gcc/libgloss/cris -B/tmp/break20131030_05/pre/cris-elf/bin/ -B/tmp/break20131030_05/pre/cris-elf/lib/ -isystem /tmp/break20131030_05/pre/cris-elf/include -isystem /tmp/break20131030_05/pre/cris-elf/sys-include -march=v8 -mbest-lib-options -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I/tmp/break20131030_05/gcc/newlib/libc/stdlib -DHAVE_RENAME -D_USE_WRITE -DCOMPACT_CTYPE -fno-builtin -g -O2 -march=v8 -mbest-lib-options -c -o lib_a-dtoa.o `test -f 'dtoa.c' || echo '/tmp/break20131030_05/gcc/newlib/libc/stdlib/'`dtoa.c /tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c: In function 'quorem': /tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c:142:1: error: insn does not satisfy its constraints: } ^ (insn 289 35 288 3 (set (reg/v/f:SI 171 [orig:132 S ] [132]) (reg/v/f:SI 11 r11 [orig:132 S ] [132])) 37 {*movsi_internal} (nil)) /tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c:142:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411 0x8a5018 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /tmp/break20131030_05/gcc/gcc/rtl-error.c:109 0x8a503f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /tmp/break20131030_05/gcc/gcc/rtl-error.c:120 0x858866 reload_cse_simplify_operands /tmp/break20131030_05/gcc/gcc/postreload.c:411 0x858b44 reload_cse_simplify /tmp/break20131030_05/gcc/gcc/postreload.c:123 0x858b44 reload_cse_regs_1 /tmp/break20131030_05/gcc/gcc/postreload.c:220 0x858bd3 reload_cse_regs /tmp/break20131030_05/gcc/gcc/postreload.c:68 0x858bd3 rest_of_handle_postreload /tmp/break20131030_05/gcc/gcc/postreload.c:2332 0x858bd3 execute /tmp/break20131030_05/gcc/gcc/postreload.c:2368 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[8]: *** [lib_a-dtoa.o] Error 1 make[8]: Leaving directory `/tmp/break20131030_05/gccobj/cris-elf/v8/newlib/libc/stdlib' Author of commit CC:ed. Preprocessed code attached.