https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111107
--- Comment #12 from Alex Henrie <alexhenrie24 at gmail dot com> --- Created attachment 56687 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56687&action=edit Minimal example to reproduce the crash Here's a minimal example that crashes on MinGW 12 with -m32 -mavx512f -mpreferred-stack-boundary=2. I tried it with MinGW 13 on Compiler Explorer <https://godbolt.org/> and it does not crash, so it looks like that bug has been fixed already.