https://bugs.winehq.org/show_bug.cgi?id=47918
Felix Hädicke felixhaedicke@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt
--- Comment #2 from Felix Hädicke felixhaedicke@web.de --- Analyzed the problem further. Compiled msvcr90 with and without Ryzen optimisations. Then changed the optimisation settings for specific files.
Found out that it is enough to disable -march=znver2 for wcs.c to make it work. Then I found out that it is enough to disable optimisations for the function puts_clbk_str() in printf.h. Used __attribute__((optimize("O0"))) for this function.