https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81462
Bug ID: 81462 Summary: [8 Regression] ICE in estimate_bb_frequencies at gcc/predict.c:3546 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at ucw dot cz Target Milestone: --- $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/devirt-50.C -O1 -fno-ipa-pure-const during GIMPLE pass: profile_estimate /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/devirt-50.C: In function ‘int main()’: /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/devirt-50.C:17:5: internal compiler error: in to_reg_br_prob_base, at profile-count.h:189 } ^ 0xcedbf0 profile_probability::to_reg_br_prob_base() const ../../gcc/profile-count.h:189 0xcebc05 estimate_bb_frequencies(bool) ../../gcc/predict.c:3546 0xce9712 tree_estimate_probability(bool) ../../gcc/predict.c:2815 0xcec3b3 execute ../../gcc/predict.c:3688