On Thu, 17 Apr 2025, Pali Rohár wrote:

Function _fpreset() is declared in float.h.
---
mingw-w64-crt/crt/crtexe.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Overall about this patchset:

1 - Unclear about the magic undocumented constant, unclear use (__globallocalestatus), but I guess it makes things slightly more sensible?

2,3,4,6 - Moving code around. Not totally convinced about the purpose, but perhaps the end result is more simple and understandable in the end after all. I'm open for comments from others about this. Getting rid of the .CRT$.. sections for calling these functions probably is sensible. But the reorderings should happen in a different order, we can't call C++ constructors before the pseudo relocation fixups, even during the refactoring.

5 - Catching allocation errors, that's always good I guess.

7-9 - Look ok.

// Martin

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to