[Bug middle-end/98366] [11 Regression] wrong-code with memcmp and -m32
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 18 09:18:58 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98366
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think .b is not a problem, that should be 0, but there are 17 bits of padding
at the end of the structure, and that has unspecified bits.
So, I think the testcase is invalid and normally succeeds only because the
gimplifier decides to zero the whole structure instead of initializing .b to 0.
Of course, it would be nice to find out what the r11-2709 code does exactly...
More information about the Gcc-bugs
mailing list