https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70773
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- It possibly does value profiling figuring out a common division/modulo value and then making all other values unlikely (and thus cold).