https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83039
Bug ID: 83039 Summary: ice in estimate_node_size_and_time, at ipa-fnsummary.c:2750 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: --- Created attachment 42642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42642&action=edit gzipped C++ source code Recent gcc trunk with flags -O2 -fno-guess-branch-probability and the attached C++ source code does this: during IPA pass: inline src/symmetrictraversal.cpp:617:1: internal compiler error: in estimate_node_size_and_time, at ipa-fnsummary.c:2750 0x5a0d01 estimate_node_size_and_time(cgraph_node*, unsigned int, unsigned int, vec<tree_node*, va_heap, vl_ptr>, vec<ipa_polymorphic_call_context, va_heap, vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>, int*, int*, sreal*, sreal*, int*, vec<inline_param_summary, va_heap, vl_ptr>) ../../trunk/gcc/ipa-fnsummary.c:2750 0xd285fd do_estimate_edge_time(cgraph_edge*) ../../trunk/gcc/ipa-inline-analysis.c:170 0xd29047 do_estimate_edge_size(cgraph_edge*) ../../trunk/gcc/ipa-inline-analysis.c:225 The problem seems to exist between revisions 254718 and 254772