https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93087
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:7bf1518f84d5e676dd5f4335783eaf7b742961a5 commit r9-8158-g7bf1518f84d5e676dd5f4335783eaf7b742961a5 Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Jan 22 17:48:05 2020 +0100 re PR ipa/93087 (Bogus `-Wsuggest-attribute=cold` on function already marked as `__attribute__((cold))`) PR ipa/93087 * predict.c (compute_function_frequency): Don't call warn_function_cold on functions that already have cold attribute. * c-c++-common/cold-1.c: New test.