https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111336
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note -fwrapv or -fno-ivopts causes the issue to disappear.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 08 Sep 2023 10:04:56 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111336
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note -fwrapv or -fno-ivopts causes the issue to disappear.