https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116859
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 59203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59203&action=edit gcc15-pr116859.patch Here it is in patch form. But I can't really test it on FreeBSD nor DragonFly.