https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118152
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- Not sure what is happening here and not sure I have access to a 32-bit arm machine to test on. This test is supposed to crash. We are testing that the crash is correctly recovered. I don't know why it is using a misaligned memory address. It is expected to try to store a value to address 0. I also don't know what the revision you mention has to do with this. I wouldn't expect this code to use that at all. It might be helpful to see the dissassembled code of sync/atomic_test.TestNilDeref..func30.