[clang] [ARM64EC] Accept -mlong-double-{64, 80, 128} for MinGW (PR #237827)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 23:07:09 PST 2026
ojhunt wrote:
> > I'm unsure why this is appropriate? `long double` is a platform defined value, and it is well understood that it is different sizes on different platforms.
> > I am not sure why this change is reasonable? nor why it would only apply to one target _if_ it is reasonable? e.g why does arm64ec-mingw32 require fp80 but no other targets? (mips, win64, etc)
>
> ARM64EC is designed to be interoperable with x86-64 (everything, not just types). If arm64ec-w64-mingw32 is ABI-incompatible with x86_64-w64-mingw32 in any way then it's considered a bug and should be fixed.
Sigh. Frustrating given window's x64 ABI has long double=fp64. Oh well.
https://github.com/llvm/llvm-project/pull/237827
More information about the cfe-commits
mailing list