henricj / wxQuantizeCrash

The MSVC++ optimizer changes the output of this program (tested on 19.00.24215.1). From wxWidgets Issue #17764.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wxQuantizeCrash

The MSVC++ optimizer changes the output of this program. This could be the optimizer's fault. Changing the "curN" variables in quantize.cpp's pass2_fs_dither() to "volatile" makes the output from the optimized code match the non-optimized output.

This code is an attempt to isolate the problem referenced in wxWidgets Issue #17764.

This is fixed in VS2017 RTM (Visual C++ Compiler 19.10.25017).

About

The MSVC++ optimizer changes the output of this program (tested on 19.00.24215.1). From wxWidgets Issue #17764.


Languages

Language:Assembly 58.9%Language:C++ 36.8%Language:C 4.3%