https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318
--- Comment #30 from Daniel Black <daniel.black at au dot ibm.com> --- Still failing for me. $ toolchain/bin/gcc --version gcc (GCC) 8.0.0 20171008 (experimental) (code from comment 27) $ toolchain/bin/gcc -O1 -c /tmp/x.c ... during GIMPLE pass: profile_estimate /tmp/x.c: In function ‘fn3’: /tmp/x.c:9:1: internal compiler error: in to_reg_br_prob_base, at profile-count.h:189 } ^ 0x657bef profile_probability::to_reg_br_prob_base() const ../../gcc/profile-count.h:189 0x657bef estimate_bb_frequencies(bool) ../../gcc/predict.c:3570 0xc64eaa tree_estimate_probability(bool) ../../gcc/predict.c:2827 0xc64f83 execute ../../gcc/predict.c:3718