[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:28:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98908
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The second function is able to be optimized since GCC 9 with bswap producing:
load_dst_16 = MEM <short unsigned int> [(unsigned char *)&x];
More information about the Gcc-bugs
mailing list