]> granicus.if.org Git - python/commit
bpo-30104: Use -fno-strict-aliasing on clang (#1376)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 May 2017 08:47:37 +0000 (10:47 +0200)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 08:47:37 +0000 (10:47 +0200)
commit809101f14f27ddb394cd77c477470761ecf99f41
treec72865d73dfa042b3aa4826ed4c33ace4dd5295e
parent78b23ab6827410960577c01a33df8afc8fd4496e
bpo-30104: Use -fno-strict-aliasing on clang (#1376)

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
Makefile.pre.in
configure
configure.ac