https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #28 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 41518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41518&action=edit Possible fix I'm testing the attached two patches which should fix the issue. If everything goes well, I will see whether I can up quickly come up with a C testcase and re-read the patch on Monday to make sure I covered all corner cases and then post it to the mailing list.