[Bug c++/85607] New: ice in add_type, at ipa-icf.c:1583
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 2 10:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85607
Bug ID: 85607
Summary: ice in add_type, at ipa-icf.c:1583
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
>From the gcc test suite, the file g++.dg/warn/incomplete1.C, when compiled
with flag -O2 on recent gcc trunk, does this:
during IPA pass: icf
./g++.dg/warn/incomplete1.C:22:1: internal compiler error: in add_type, at
ipa-i
cf.c:1583
}
^
0x7d3202 ipa_icf::sem_item::add_type(tree_node const*, inchash::hash&)
../../trunk/gcc/ipa-icf.c:1583
0x1a4853b ipa_icf::sem_function::hash_stmt(gimple*, inchash::hash&)
../../trunk/gcc/ipa-icf.c:1658
0x1a4853b ipa_icf::sem_function::init()
../../trunk/gcc/ipa-icf.c:1432
0x1a5045d ipa_icf::sem_function::parse(cgraph_node*, bitmap_obstack*)
../../trunk/gcc/ipa-icf.c:1717
I'll have my usual go at finding a range of revisions and a small test case.
More information about the Gcc-bugs
mailing list