https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111934
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is interesting, I cannot reproduce it locally with r14-5371-g93e92b2e5d6866 . but with the version in godbolt I could (r14-5368-ge0787da263322f).