https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64285
Bug ID: 64285 Summary: [5 Regression] During LTO: ICE segfault in ipa_polymorphic_call_context::get_dynamic_type Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: hubicka at gcc dot gnu.org I tried compiling the program again which gave the ICE of PR64043, motivated by the patch https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01076.html which looks vaguely related. In any case, it now (r218661) fails with: gcc-trunk/include/c++/5.0.0/bits/unique_ptr.h:70:0: internal compiler error: Segmentation fault operator()(_Tp* __ptr) const ^ 0xa2576f crash_signal ../../gcc/toplev.c:358 0x878d2f tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/tree.h:2778 0x878d2f ipa_polymorphic_call_context::get_dynamic_type(tree_node*, tree_node*, tree_node*, gimple_statement_base*) ../../gcc/ipa-polymorphic-call.c:1594 0xb9f23e eliminate_dom_walker::before_dom_children(basic_block_def*) ../../gcc/tree-ssa-pre.c:4334 0xfde647 dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:188 0xba0da0 eliminate ../../gcc/tree-ssa-pre.c:4491 0xba0ff5 execute ../../gcc/tree-ssa-pre.c:4910 Testcase reduction under way