[Bug translation/96159] atomic creates incorrect code for possible isaligned struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159 --- Comment #2 from Martin Uecker --- Clang produces a call to __atomic_load. Also here is a godbolt link: https://godbolt.org/z/39PE1G
[Bug translation/96159] atomic creates incorrect code for possible isaligned struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159 --- Comment #1 from Martin Uecker --- On x86-64 the following struct has alignment 4 but gcc creates a single mov instruction which according to my understanding may fail to be atomic when it crosses a cache line boundary. Documentation seem