https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117727
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org, | |redi at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I thought all the bits of the type are padding bits (given that reads of std::nullptr_t typed objects just don't read any of the bits and simply result in nullptr). So, I think most likely the first __builtin_bit_cast should be rejected in constexpr contexts and the second one accepted.