在 2022-02-19 09:02, Pali Rohár 写道:
Redirect (v)snprintf() call with n==0 arg directly to _(v)scprintf() call
at compile time. With this change gcc can optimize out __ms_(v)snprintf()
call even when MinGW-w64 runtime was not compiled with LTO.
---
  mingw-w64-headers/crt/stdio.h | 14 ++++++++++----
  1 file changed, 10 insertions(+), 4 deletions(-)



Thanks for the patch. Pushed now.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

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

Reply via email to