http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57351
Bug ID: 57351 Summary: ICE: internal compiler error: in dbx_reg_number, at dwarf2out.c:10507 on arm-none-eabi Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: christian.bruel at st dot com Target: arm-none-eabi Created attachment 30152 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30152&action=edit Preprocessed testcase Building newlib for arm-none-eabi fails after r199132 2013-05-21 Christian Bruel <christian.br...@st.com> * dwarf2out.c (multiple_reg_loc_descriptor): Use dbx_reg_number for spanning registers. LEAF_REG_REMAP is supported only for contiguous registers. Set register size out of the PARALLEL loop. with an ICE: $SRC/binutils/newlib/libc/stdlib/dtoa.c:862:1: internal compiler error: in dbx_reg_number, at dwarf2out.c:10507 } ^ 0x659a6e dbx_reg_number $SRC/gcc/gcc/dwarf2out.c:10507 0x6dc41c rest_of_handle_final $SRC/gcc/gcc/final.c:4393 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. I encounter the same ICE when trying to build libgfortran on arm-none-eabi. The attached testcase is reduced from there. I reproduced the ICE with flags -std=c99 -O2 -g on the testcase My cross compiler is configured with --with-fpu=neon-vfpv4 --with-float=hard --with-arch=armv7-a Thanks, Kyrill