https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94273
Bug ID: 94273
Summary: ice in splice_child_die, at dwarf2out.c:5657
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 48085
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48085&action=edit
gzipped C++ source code
For the attached C++ source code, with recent gcc trunk, does this:
../tdutils/td/utils/logging.cpp:263:1: internal compiler error: in
splice_child_die, at dwarf2out.c:5657
263 | } // namespace td
| ^
0x7064f4 splice_child_die
../../trunk.git/gcc/dwarf2out.c:5657
0x7064f4 gen_member_die
../../trunk.git/gcc/dwarf2out.c:25154
0x7064f4 gen_struct_or_union_type_die
../../trunk.git/gcc/dwarf2out.c:25265
0x7064f4 gen_tagged_type_die
../../trunk.git/gcc/dwarf2out.c:25466
Compile line needs flag -g1.
I'll have my usual go at reducing the code and finding a set of dates
where it first starts to go wrong.