https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122839
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63663&action=edit gcc16-pr122839.patch Untested implementation of that. Matthias, is this what you're looking after?
