https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85918
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 44189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44189&action=edit gcc9-pr85918-2.patch WIP fix for the rest, still need to write testcases and actually test it.