https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82386
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 42285 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42285&action=edit gcc8-pr82386.patch This patch implements the latter option.