[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0
khim at google dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 15:31:23 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589
Victor Khimenko <khim at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |khim at google dot com
--- Comment #2 from Victor Khimenko <khim at google dot com> ---
Note that gcc looks bad even on the example from Microsoft's blog post:
https://godbolt.org/z/Jc7TcN
The fact that MSVC also looks bad on example from Microsoft is not really
relevant, it's MSVC, after all.
Blogpost itself is here:
https://devblogs.microsoft.com/cppblog/simplify-your-code-with-rocket-science-c20s-spaceship-operator/
More information about the Gcc-bugs
mailing list