https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243 --- Comment #18 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Returning MIN(1, count) indeed seems like very good idea to me. We need to keep those in control :) I am testing patch for that.