https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45904 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45904&action=edit gcc8-pr89585.patch The 8.x version would be like this.