[Bug tree-optimization/98908] Failure to optimize arithmetic involving struct members into operating on the entire struct
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 3 00:27:26 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98908
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Store merging has been doing this since GCC 8.
_8 = MEM[(unsigned char *)&x];
_9 = _8 & 33022;
MEM[(unsigned char *)&D.2061] = _9;
What I am mssing here?
f:
.LFB0:
.cfi_startproc
mov eax, edi
and ax, -32514
ret
More information about the Gcc-bugs
mailing list