[Bug d/89017] New: ICE in force_type_die, at dwarf2out.c:26061
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Jan 23 17:01:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89017
Bug ID: 89017
Summary: ICE in force_type_die, at dwarf2out.c:26061
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: gscfq@t-online.de
Target Milestone: ---
With option -g :
$ cat z1.d
auto f(T)()
{
struct A(S)
{
class A
{
void g(){}
}
}
return A!int();
}
void test1()
{
f!int;
}
$ gdc-9-20190120 -c z1.d
$ gdc-9-20190120 -c z1.d -Og
$
$ gdc-9-20190120 -c z1.d -g
during RTL pass: final
z1.d: In function 'g':
z1.d:7:16: internal compiler error: in force_type_die, at dwarf2out.c:26061
7 | void g(){}
| ^
0x87f14a force_type_die
../../gcc/dwarf2out.c:26061
0x87f35b get_context_die
../../gcc/dwarf2out.c:25975
0x87f35b force_decl_die
../../gcc/dwarf2out.c:25994
0x877efc gen_subprogram_die
../../gcc/dwarf2out.c:22790
0x87a354 gen_decl_die
../../gcc/dwarf2out.c:26290
0x87aec6 dwarf2out_decl
../../gcc/dwarf2out.c:26858
0x87b4ee dwarf2out_function_decl
../../gcc/dwarf2out.c:26873
0x8e6459 rest_of_handle_final
../../gcc/final.c:4695
0x8e6459 execute
../../gcc/final.c:4737
More information about the Gcc-bugs
mailing list