[PATCH v2] msvcrt: Call cdecl functions with empty FPU stack in _CI* functions

Piotr Caban piotr at codeweavers.com
Mon Nov 27 13:29:44 CST 2017


The FPU stack should be empty on cdecl function call. Failing to do so
breaks GCC 6.4.0 -O2 optimized code.

For bug #43940.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcrt/math.c | 263 
++++++++++++++++++++++-------------------------------
  1 file changed, 108 insertions(+), 155 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Call-cdecl-functions-with-empty-FPU-stack-in-_C.txt
Type: text/x-patch
Size: 8071 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171127/b113b59e/attachment-0001.bin>


More information about the wine-devel mailing list