https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77610
--- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Created attachment 39642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39642&action=edit patch to add default threshold 256 sounds reasonable to me. Does the attached patch work for you?