[Bug c++/98646] [11 Regression] A static_cast confuses -Wnonnull, causing false positives

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 21 00:32:28 GMT 2021


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> ---
A simple patch that just makes sure the NO_WARNING bits stays set:
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563944.html


More information about the Gcc-bugs mailing list