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/