[Bug c++/95548] New: ice in tree_to_shwi, at tree.c:7321
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 06:51:34 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95548
Bug ID: 95548
Summary: ice in tree_to_shwi, at tree.c:7321
Product: gcc
Version: unknown
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 48681
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48681&action=edit
gzipped C++ source code
For the attached C++ code, with recent gcc trunk and
compiler flags -flto and -std=c++17, does this:
during IPA pass: odr
assert.cc:52:1: internal compiler error: in tree_to_shwi, at tree.c:7321
0x1238302 tree_to_shwi(tree_node const*)
../../trunk.git/gcc/tree.c:7321
0xce5418 ipa_odr_summary_write()
../../trunk.git/gcc/ipa-devirt.c:4051
0xe7843a ipa_write_summaries_2(opt_pass*, lto_out_decl_state*)
../../trunk.git/gcc/passes.c:2645
0xe76f5a ipa_write_summaries_1(lto_symtab_encoder_d*)
../../trunk.git/gcc/passes.c:2676
The bug first seems to appear sometime between 20200603 and
20200604.
I'll have a go at reducing the code.
More information about the Gcc-bugs
mailing list