[Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 00:14:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70782
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For the memset/memcpy version, I wonder if we should convert:
MEM[(char * {ref-all})&v] = _10;
...
MEM <unsigned int> [(char * {ref-all})&v] = _8;
Into using BIT_FIELD_REF.
More information about the Gcc-bugs
mailing list