[Bug libstdc++/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 1 19:46:39 GMT 2021


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be fixed for GCC 12.


More information about the Gcc-bugs mailing list