On Tue, Jul 28, 2026 at 09:10:54AM -0400, Greg Burd wrote:
>   * clang for aarch64-w64-windows-gnu does not implement
>     __builtin_setjmp at all; and

Does clang for x86-64 implement it?

> So on this toolchain the plain setjmp()/longjmp() fallback is not merely
> a compile fix -- it is runtime-correct.  The original MinGW-64
> setjmp/longjmp defect that 146cb3889c3 works around appears to be
> specific to the x86_64 GCC MinGW toolchain and not present in
> clang-aarch64-mingw, which has its own setjmp lowering.  I have not
> tested a GCC-based aarch64 MinGW toolchain.

Testing on aarch64/gcc/mingw seems like an important step.

-- 
nathan


Reply via email to