https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119839
--- Comment #5 from Anton Blanchard <anton at ozlabs dot org> --- Thanks for the detailed response. It is using -fno-strict-aliasing as you suspected. It sounds like there isn't a whole lot we can do, perhaps we could look deeper into how things got partitioned, but the variable is accessed from a number of functions and I can see how it would be hard to ensure all accesses remain in the same partition.