[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

Mark Dickinson report at bugs.python.org
Fri Apr 21 03:46:10 EDT 2017


Mark Dickinson added the comment:

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.

Changing title and raising priority: failure for repr (and marshal, JSON, etc.) to roundtrip seems like a critical breakage to me.

mdickinson$ CC=/opt/local/bin/clang-mp-4.0 ./configure && make && ./python.exe -m test test_strtod
[... log from successful build omitted ...]
Run tests sequentially
0:00:00 [1/1] test_strtod
test test_strtod failed -- multiple errors occurred; run in verbose mode for details
test_strtod failed

1 test failed:
    test_strtod

Total duration: 65 ms
Tests result: FAILURE

----------
priority: normal -> critical
title: Float rounding errors on AMD64 FreeBSD CURRENT Debug 3.x buildbot -> clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30104>
_______________________________________


More information about the Python-bugs-list mailing list