This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dim, emaste, koobs, mark.dickinson, vstinner
Date 2017-04-21.09:31:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492767101.92.0.0942370214074.issue30104@psf.upfronthosting.co.za>
In-reply-to
Content
Mark: "I seem the same issues on OS X (10.9.5) when compiling with clang 4.0 from MacPorts. So this doesn't seem to be FreeBSD-specific."

I confirm, I reproduced the bug on Linux using Clang 4.0.

Mark: "But if that's what we have to do to maintain correctness with clang, then I guess we have little choice."

I pushed my change adding -fno-strict-aliasing compiler option to clang. I created the issue #30124 to fix the aliasing issue in dtoa.c.

I didn't check yet if we have to backport the -fno-strict-aliasing change, maybe we can wait until the aliasing issue is fixed and backport this future fix?
History
Date User Action Args
2017-04-21 09:31:41vstinnersetrecipients: + vstinner, mark.dickinson, koobs, emaste, dim
2017-04-21 09:31:41vstinnersetmessageid: <1492767101.92.0.0942370214074.issue30104@psf.upfronthosting.co.za>
2017-04-21 09:31:41vstinnerlinkissue30104 messages
2017-04-21 09:31:41vstinnercreate