[Bug libstdc++/114325] std::format gives incorrect results for negative numbers

mwd at md5i dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 13 14:42:48 GMT 2024


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

Michael Duggan <mwd at md5i dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mwd at md5i dot com

--- Comment #1 from Michael Duggan <mwd at md5i dot com> ---
I will note that, in experiments, this seems to solely happen with "{}".  If
anything else is in the format string, it works correctly.  This is probably a
bug in the fairly recent codepath that optimizes the "{}" case.


More information about the Gcc-bugs mailing list