https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97295
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:508e2d88a4c512e8b8685cf5ba201ad48e6bb58d commit r11-3908-g508e2d88a4c512e8b8685cf5ba201ad48e6bb58d Author: Martin Liska <mli...@suse.cz> Date: Tue Oct 13 16:44:47 2020 +0200 IPA: fix profile handling in IRA gcc/ChangeLog: PR ipa/97295 * profile-count.c (profile_count::to_frequency): Move part of gcc_assert to STATIC_ASSERT. * regs.h (REG_FREQ_FROM_BB): Do not use count.to_frequency for a function that does not have count_max initialized.