https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Comment on attachment 43434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43434 Possible patch From the above comments, from_mode can be also MODE_INT and to_mode MODE_PARTIAL_INT, though I wonder how, because it clearly couldn't reach the PSImode by FOR_EACH_MODE.