[Python-checkins] [python/cpython] 28205b: bpo-30104: Use -fno-strict-aliasing on clang (#122...

GitHub noreply at github.com
Fri Apr 21 05:24:35 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 28205b203a4742c40080b4a2b4b2dcd800716edc
      https://github.com/python/cpython/commit/28205b203a4742c40080b4a2b4b2dcd800716edc
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M configure
    M configure.ac

  Log Message:
  -----------
  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




More information about the Python-checkins mailing list