https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Wrong-code issues like this shouldn't be just closed. I think you should ping Uros on this, or another option would be to revert on the branch the change that caused the regression.