https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80313
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> --- I have benchmarked the update of branch cost from 2 to 3 and commited it today. So this should be fixed on mainline.