[Bug c++/123087] logical negation of a nullptr incorrectly errors according to [expr.unary.op] paragraph 9

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 10 18:33:27 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |94404
              Alias|                            |cwg1781

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Basically GCC implements DR 1423 but that was reverted with DR 1781.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404
[Bug 94404] [meta-bug] C++ core issues


More information about the Gcc-bugs mailing list