https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969
--- Comment #17 from Przemyslaw Wirkus <wirkus at gcc dot gnu.org> --- (In reply to Vladimir Makarov from comment #16) > (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. No worries, we were looking at the problem from Arm's backend pov. Regardless, please carry on with your patch for this PR as my solution was just masking the core issue you've addressed. Thank you for looking at this, cheers!