[Bug libstdc++/119429] size_t __nargs = -1 in std::format

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 22 21:01:10 GMT 2025


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since this is well defined this is not a bug. The bug is clang allows reporting
of this and saying it is undefined. Basically -fsanitize=integer is broken and
should NOT be used with well defined code.


More information about the Gcc-bugs mailing list