[Bug ipa/108702] New: [13 Regression] ICE in get_partitioning_class, at symtab.cc:2096
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 18:36:44 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108702
Bug ID: 108702
Summary: [13 Regression] ICE in get_partitioning_class, at
symtab.cc:2096
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Keywords: lto
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
gcc 13.0.1 20230205 snapshot (g:d042f118798ae0648b45f97e63b0e5ab7c82c8ef) ICEs
when compiling gcc/testsuite/g++.dg/ext/stmtexpr19.C w/ -flto:
% g++-13 -flto -c gcc/testsuite/g++.dg/ext/stmtexpr19.C
during IPA pass: modref
gcc/testsuite/g++.dg/ext/stmtexpr19.C:17:12: internal compiler error: in
get_partitioning_class, at symtab.cc:2096
17 | int main(){}
| ^
0x79f533 symtab_node::get_partitioning_class()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/symtab.cc:2096
0x1061f27 lto_output_varpool_node
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/lto-cgraph.cc:631
0x1061f27 output_symtab()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/lto-cgraph.cc:999
0x1079c3b lto_output()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/lto-streamer-out.cc:2825
0x1107d61 write_lto
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/passes.cc:2777
0x1107d61 ipa_write_summaries_1
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/passes.cc:2841
0x1107d61 ipa_write_summaries()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/passes.cc:2897
0xd3c19e ipa_passes
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/cgraphunit.cc:2249
0xd3c19e symbol_table::compile()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/cgraphunit.cc:2322
0xd3ebc7 symbol_table::compile()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/cgraphunit.cc:2302
0xd3ebc7 symbol_table::finalize_compilation_unit()
/var/tmp/portage/sys-devel/gcc-13.0.1_p20230205/work/gcc-13-20230205/gcc/cgraphunit.cc:2574
More information about the Gcc-bugs
mailing list