Christian Heimes <li...@cheimes.de> added the comment: The patch has another flaw. The compiler may choose to fold and optimize code in _tscmp(). I'm going to declare the length of the right side and both char* as volatile. That should stop any compiler.
I could also add some pragmas: MSVC: #pragma optimize("", off) code #pragma optimize("", on) GCC 4.4+: #pragma GCC push_options #pragma GCC optimize ("O0") code #pragma GCC pop_options ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15061> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com