bpo-30104: Use -fno-strict-aliasing on clang by vstinner · Pull Request #1221 · python/cpython

Conversation

@vstinner

Copy link Copy Markdown

Member

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

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

@mention-bot

Copy link Copy Markdown

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @doko42, @loewis and @Yhg1s to be potential reviewers.

@vstinner vstinner merged commit 28205b2 into python:master

Apr 21, 2017

@vstinner vstinner deleted the clang4 branch

April 21, 2017 09:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @mention-bot @the-knights-who-say-ni