https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87214
--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45528 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45528&action=edit gcc9-pr87214-wip.patch Untested fix. Still need to cover all the changes with testcases.