Hello Stephen, hello Claude, following discussion seems also related and raises the question if the variable cannot be aligned, could then mingw-w64 just emit the unaligned instructions, even if slower than the aligned ones, which are faster but also crash.
https://sourceforge.net/p/mingw-w64/discussion/723797/thread/bc936130/ Kind regards, Bernhard