https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 44312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44312&action=edit gcc7-pr84786.patch Patch I'm going to bootstrap/regtest on 7.x branch now. On the trunk/in 8.x this got fixed with r253924 aka one of the PR82370 fixes, but that is something that IMHO shouldn't be backported.