[Mingw-w64-public] [PATCH] crt: Add noreturn attribute with _amsg_exit

2023-07-14 Thread Biswapriyo Nath
From 500289eff11712010d492af19860c27303619121 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 15 Jul 2023 11:04:46 +0530 Subject: [PATCH] crt: Add noreturn attribute with _amsg_exit This fixes the following compiler warning ucrtbase_compat.c:105:34: warning: function `_amsg_exit' coul

Re: [Mingw-w64-public] isfinite() is broken under quadmath

2023-07-14 Thread LIU Hao
在 2023-07-14 21:38, sisyphus 写道: Hi, I've tested this with 64-bit gcc-11.3.0 and (both 32-bit and 64-bit) gcc-13.1.0 nad am seeing the same brokenness. Looks like our `fpclassify()` doesn't handle `__float128`: ``` #define fpclassify(x) \ __mingw_choose_expr (

[Mingw-w64-public] isfinite() is broken under quadmath

2023-07-14 Thread sisyphus
Hi, I've tested this with 64-bit gcc-11.3.0 and (both 32-bit and 64-bit) gcc-13.1.0 nad am seeing the same brokenness. The demo: // /* isfinite.c */ #include #include #include int main(void) { __float128 x = 1.0Q; if(isfinite(x)) printf("OK\n"); else printf("NOT ok\n");