https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969
--- Comment #16 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to Przemyslaw Wirkus from comment #14) > Hi Vladimir, > > I'm assigned to the issue and I'm working on it. I think I got the root > cause. > I'm in the process of creating a patch after I complete few tests. > > kind regards > Przemyslaw Sorry, it was not clear for me that somebody was working on the patch. The bug is actually severe and should be classified as P1. In any case, here is my patch fixing this. The patch is in the attachment. May be your patch will use a better approach.