https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113505
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57737&action=edit gcc14-pr113505.patch Untested patch to do that. Fixes the ICE.