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

Jiang An <de34 at live dot cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |de34 at live dot cn

--- Comment #3 from Jiang An <de34 at live dot cn> ---
CWG2823 has been voted into the standard (see https://wg21.link/p3046r0,
https://wg21.link/n4972).

> Should it be possible to dereference a null pointer in a C++20 constant 
> expression?

Now such derefencing is clearly UB and needs to cause constant evaluation
failure (not only in C++20, IMO).

Reply via email to