https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112305

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |9.1.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For -O2, the bug has been present since at least 9.1.0. -O1 started to expose
it in GCC 12 though.

-fwrapv works around the issue.
-fno-tree-scev-cprop does too.

Reply via email to