The mentioned patch fixes miscompilation of llvm/clang when it's compiled with certain mingw versions. The tablegen tool is miscompiled and crashes and thus it's not possible to build llvm/clang at all with some mingw versions.
The mentioned patch fixes miscompilation of llvm/clang when it's compiled with certain mingw versions. The tablegen tool is miscompiled and crashes and thus it's not possible to build llvm/clang at all with some mingw versions.
If you can reproduce this issue, I would appreciate it if you filed a bug with mingw about it. I made that change by understanding the conditions that caused the bug and avoiding them without reproducing the problem. It’s not clear to me what’s wrong with requesting an overaligned stack object with attribute((align())) in mingw gcc.