[Bug c++/99637] bit_cast doesn't work with padding bits and it should
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 17 20:58:30 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The result in your case doesn't have any padding bits, but the source has and
some value bits of the result need to be initialized from those padding bits.
More information about the Gcc-bugs
mailing list