[Bug tree-optimization/111383] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-5138-ge82c382971

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 12 16:44:14 GMT 2023


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fwrapv also allows causes the correct code to happen.

The difference with/without -fwrapv is:
  _7 = _6 + -1625040257;
  if (_7 <= 6)

vs
  if (_6 <= 1625040263)


More information about the Gcc-bugs mailing list