New submission from STINNER Victor: My change 28205b203a4742c40080b4a2b4b2dcd800716edc added -fno-strict-aliasing on clang to fix the compilation of Python/dtoa.c on clang 4.0. But it's only a temporary workaround until dtoa.c is fixed to respect C99 strict aliasing.
Strict aliasing allows the compiler to enable more optimization, and so should make Python a little bit faster. It would only fix a regression, before my change Python was already build with strict aliasing More info about the issue: * bpo-30104 * https://bugs.llvm.org//show_bug.cgi?id=31928 ---------- components: Build messages: 292018 nosy: benjamin.peterson, haypo, mark.dickinson priority: normal severity: normal status: open title: Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0 type: performance versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30124> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com