https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #5) > (In reply to Jonathan Wakely from comment #4) > > So the result cannot be created. > > Not during constant evaluation, anyway. And outside of constant evaluation with undefined behavior with the exception of bit_cast to unsigned char / std::byte?