This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/57351] New: ICE: internal compiler error: in dbx_reg_number, at dwarf2out.c:10507 on arm-none-eabi


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.bruel@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]