https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114783
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57991 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57991&action=edit gcc14-pr114783.patch Full untested patch.