https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111088
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- In C++ this would have been undefined - I don't think this particular testcase is worth "optimizing".
rguenth at gcc dot gnu.org via Gcc-bugs Mon, 21 Aug 2023 23:50:01 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111088
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- In C++ this would have been undefined - I don't think this particular testcase is worth "optimizing".