https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61105
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Summary|[constexpr] accepts-invalid |[constexpr] poor diagnostic
|with new-expression in |for new-expression in
|constant expression |constant expression
CC| |jason at gcc dot gnu.org
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
so yes, the accepts-invalid for comment #6 was fixed in GCC 12, but the
diagnostic isn't very helpful; the conversion from void* is implicit, not
written by the user. It would be more useful to point out the placement new.