https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113787
--- Comment #4 from Alex Coplan <acoplan at gcc dot gnu.org> --- Same with the head of the GCC 12 branch, but I agree it isn't a [14 Regression] as I can reproduce the issue with basepoints/gcc-14, so maybe something was backported to 12/13 that is making it latent on the branches?