[Python-checkins] [python/cpython] 03a7ab: bpo-30104: Use -fno-strict-aliasing on clang (#137...
GitHub
noreply at github.com
Tue May 2 05:16:23 EDT 2017
Branch: refs/heads/3.5
Home: https://github.com/python/cpython
Commit: 03a7ab77d2f75323e1f3e8b6a1c164e701d58bfb
https://github.com/python/cpython/commit/03a7ab77d2f75323e1f3e8b6a1c164e701d58bfb
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-02 (Tue, 02 May 2017)
Changed paths:
M Makefile.pre.in
M configure
M configure.ac
Log Message:
-----------
bpo-30104: Use -fno-strict-aliasing on clang (#1376) (#1377)
Python/dtoa.c is not compiled correctly with clang 4.0 and
optimization level -O2 or higher, because of an aliasing issue on the
double/ULong[2] union. Only compile dtoa.c with -fno-strict-aliasing.
LLVM bug report:
https://bugs.llvm.org//show_bug.cgi?id=31928
(cherry picked from commit 809101f14f27ddb394cd77c477470761ecf99f41)
More information about the Python-checkins
mailing list