https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53477
--- Comment #22 from Tomasz Gajewski <tomga at wp dot pl> --- In comment #10 I've provided test patch to test case that exposed a problem (and in comment #11 some fix to all those tests). Currently I can't check if it applies cleanly and if errors occur. If you want probably I can find some time in next few weeks.