ICE when compiling the attached test case with -O -g.

$ ./cc1 -O -g /tmp/testcase-ice-mem_loc_descriptor.c 
 _bfd_link_section_stabs
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <*free_lang_data> <early_local_cleanups> <whole-program> <inline>
<static-var> <pure-const>Assembling functions:
 _bfd_link_section_stabs(us_truncate:SI (reg:PDI 32 A0))
/tmp/testcase-ice-mem_loc_descriptor.c: In function ‘_bfd_link_section_stabs’:
/tmp/testcase-ice-mem_loc_descriptor.c:14:1: internal compiler error: in
mem_loc_descriptor, at dwarf2out.c:13487


-- 
           Summary: ICE in mem_loc_descriptor
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jzhang918 at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: bfin-uclinux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42767

Reply via email to