https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63482
Bug ID: 63482 Summary: [5 Regression] ICE: in gimple_get_virt_method_for_vtable, at gimple-fold.c:4857 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Running the Boost library testsuite, I get: % g++ -O2 -std=c++11 CustomReactionTest.ii ../libs/statechart/test/CustomReactionTest.cpp:381:1: internal compiler error: in gimple_get_virt_method_for_vtable, at gimple-fold.c:4857 } ^ 0x12293d7 ipa_get_indirect_edge_target_1 ../../gcc/gcc/ipa-cp.c:1599 0xa3807a estimate_edge_devirt_benefit ../../gcc/gcc/ipa-inline-analysis.c:2979 0xa38dd9 estimate_edge_size_and_time ../../gcc/gcc/ipa-inline-analysis.c:3018 0xa38dd9 estimate_calls_size_and_time ../../gcc/gcc/ipa-inline-analysis.c:3083 0xa38c44 estimate_calls_size_and_time ../../gcc/gcc/ipa-inline-analysis.c:3071 0xa38c44 estimate_calls_size_and_time ../../gcc/gcc/ipa-inline-analysis.c:3071 0xa3b9af estimate_node_size_and_time ../../gcc/gcc/ipa-inline-analysis.c:3178 0xa3bd87 do_estimate_edge_time(cgraph_edge*) ../../gcc/gcc/ipa-inline-analysis.c:3673 0xa3e317 do_estimate_edge_size(cgraph_edge*) ../../gcc/gcc/ipa-inline-analysis.c:3724 0xa3e538 estimate_edge_size ../../gcc/gcc/ipa-inline.h:288 0xa3e538 estimate_edge_growth ../../gcc/gcc/ipa-inline.h:302 0xa3e538 estimate_size_after_inlining(cgraph_node*, cgraph_edge*) ../../gcc/gcc/ipa-inline-analysis.c:3817 0x1235fff caller_growth_limits ../../gcc/gcc/ipa-inline.c:186 0x1235fff can_inline_edge_p ../../gcc/gcc/ipa-inline.c:349 0x1238797 update_caller_keys ../../gcc/gcc/ipa-inline.c:1185 0x1239760 inline_small_functions ../../gcc/gcc/ipa-inline.c:1823 0x123a149 ipa_inline ../../gcc/gcc/ipa-inline.c:2175 0x123a149 execute ../../gcc/gcc/ipa-inline.c:2535 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. Reducing.