[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 8 16:13:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at gcc dot gnu.org

--- Comment #3 from Florian Weimer <fw at gcc dot gnu.org> ---
In general, the 32-bit opcodes clear the upper 32 bits of the 64 bit registers.
They do not just operate on the lower 32 bits.


More information about the Gcc-bugs mailing list