]> granicus.if.org Git - python/commit
bpo-30104: Use -fno-strict-aliasing on clang (#1221)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 21 Apr 2017 09:24:34 +0000 (11:24 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2017 09:24:34 +0000 (11:24 +0200)
commit28205b203a4742c40080b4a2b4b2dcd800716edc
treecf926f066b2c8b2e3b2f5273475f751ba877ba03
parent791dc831198f3ecc1531f8e6f05debf4ce234d00
bpo-30104: Use -fno-strict-aliasing on clang (#1221)

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.

LLVM bug report:
https://bugs.llvm.org//show_bug.cgi?id=31928
configure
configure.ac