[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 29 10:07:29 GMT 2021


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.1.0

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note the original testcase is optimized with GCC 11

  <bb 2> [local count: 1073741824]:
  _2 = i_1(D) > 0;
  return _2;

but not on the GCC 10 branch.  Not sure what fixed it there.


More information about the Gcc-bugs mailing list