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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Of course I wonder why the check is here in the first place...  Is placement
> new valid for nullptr?

It used to be, but is now UB, since
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1748

(There's more background in the PR Marc mentioned, PR 35878).

Reply via email to