https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- nullptr_t can only contain 0. So it is undefined if converted from a different value. For constexpr it has to be rejected.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 21 Nov 2024 08:26:44 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- nullptr_t can only contain 0. So it is undefined if converted from a different value. For constexpr it has to be rejected.