On 25.05.2025 18:10, Martin Storsjö wrote:
On Sun, 25 May 2025, Jacek Caban via Mingw-w64-public wrote:
This reverts commit 8c2c00ef898f36d51613b45c2cab4f4448d35f0b.
These functions can unwind to the current frame, in which case they
effectively return.
Therefore, they should not be marked as noreturn. Use
__builtin_unreachable in the
ARM64EC longjmp implementation instead.
Fixes https://gitlab.winehq.org/mono/wine-mono/-/merge_requests/30.
---
mingw-w64-crt/misc/arm64ec/longjmp.c | 1 +
mingw-w64-headers/include/winnt.h | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
LGTM - that's good info about why the attribute doesn't apply here.
Pushed, thanks for the review.
Jacek
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public