https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
Cory Fields <lists at coryfields dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lists at coryfields dot com --- Comment #33 from Cory Fields <lists at coryfields dot com> --- Adding another +1. Still present in 10.3.0. Bitcoin Core's sha2 code uses avx2 when possible. We ran into this bug when bumping our toolchain: https://github.com/bitcoin/bitcoin/pull/24736 and opted to take Debian's patch: https://salsa.debian.org/mingw-w64-team/gcc-mingw-w64/-/blob/master/debian/patches/vmov-alignment.patch It's unfortunate that the best and most common advice for using avx2 with gcc/mingw is to use a patched compiler. Might it be possible to accept Debian's patch upstream?