http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52260
Bug #: 52260
Summary: [4.7 Regression] ICE in clone_tree_hash, at
dwarf2out.c:7424
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 26663
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26663
preprocessed source
seen with 20120214 r184236 in stage1 building the debug libstdc++, last
successful build was 20120210 on arm-linux-gnueabi, configured with:
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-arch=armv7-a
--with-float=hard
--with-fpu=vfpv3-d16
--with-mode=thumb
omitting -gdwarf-4 avoids the ICE.
$ build/gcc/xgcc -Bbuild/gcc/ -c -fno-implicit-templates -std=gnu++11 -gdwarf-4
funcexecpt.ii
../../../../../../src/libstdc++-v3/src/c++11/functexcept.cc:194:1: internal
compiler error: in clone_tree_hash, at dwarf2out.c:7424
Please submit a full bug report,
with preprocessed source if appropriate.
Breakpoint 1, fancy_abort (file=0x9d63d0 "../../src/gcc/dwarf2out.c",
line=7424,
function=0x9d9c58 "clone_tree_hash") at ../../src/gcc/diagnostic.c:899
899 internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) bt
#0 fancy_abort (file=0x9d63d0 "../../src/gcc/dwarf2out.c", line=7424,
function=0x9d9c58 "clone_tree_hash") at ../../src/gcc/diagnostic.c:899
#1 0x00269f4a in clone_tree_hash (die=0xb1736540, decl_table=0xeabab0)
at ../../src/gcc/dwarf2out.c:7424
#2 0x0026a04c in copy_decls_walk (unit=0xb1770750, die=0xb161c2a0,
decl_table=0xeabab0)
at ../../src/gcc/dwarf2out.c:7474
#3 0x0026a142 in copy_decls_walk (unit=0xb1770750, die=0xb3fc42d0,
decl_table=0xeabab0)
at ../../src/gcc/dwarf2out.c:7522
#4 0x0026a142 in copy_decls_walk (unit=0xb1770750, die=0xb1770750,
decl_table=0xeabab0)
at ../../src/gcc/dwarf2out.c:7522
#5 0x0026a18e in copy_decls_for_unworthy_types (unit=0xb1770750)
at ../../src/gcc/dwarf2out.c:7538
#6 0x00284302 in dwarf2out_finish (
filename=0xd30328
"../../../../../../src/libstdc++-v3/src/c++11/functexcept.cc")
at ../../src/gcc/dwarf2out.c:22614
#7 0x0048f312 in compile_file () at ../../src/gcc/toplev.c:611
#8 0x0049169a in do_compile () at ../../src/gcc/toplev.c:1938
#9 0x00491822 in toplev_main (argc=20, argv=0xbefff644) at
../../src/gcc/toplev.c:2014
#10 0x001c5e7e in main (argc=20, argv=0xbefff644) at ../../src/gcc/main.c:36