https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68735
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah, I think the problem is that Python 2 has a 42-bit int and so casting a big endian pointer to int loses half the bits.
redi at gcc dot gnu.org via Gcc-bugs Wed, 02 Dec 2020 08:48:32 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68735
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah, I think the problem is that Python 2 has a 42-bit int and so casting a big endian pointer to int loses half the bits.