https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66241
Bug ID: 66241 Summary: ICE: verify_type failed while building libstdc++ (dwarfout.c: gen_type_die_with_usage()) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: vp at gcc dot gnu.org Target Milestone: --- I'm seeing this while building arm-none-linux-gnueabi/gnueabihf at the stage of building libstdc++ [...]arm-none-linux-gnueabi/libc/usr/include/bits/types.h:134:30: internal compiler error: verify_type failed 0xf3eb05 verify_type(tree_node const*) /work/ws/fsf-trunk/src/gcc/gcc/tree.c:13257 0x942ab4 gen_type_die_with_usage /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20250 0x9414be gen_decl_die /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20987 0x93faf3 gen_member_die /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:19945 0x93faf3 gen_struct_or_union_type_die /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20038 0x93faf3 gen_tagged_type_die /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20227 0x9432c9 gen_type_die_with_usage /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20381 0x9414be gen_decl_die /work/ws/fsf-trunk/src/gcc/gcc/dwarf2out.c:20987 This looks similar to bug 66214 but not sure if it's the same. Attaching a preprocessed file that reproduces this with g++ -g -O0