[issue30124] Fix C aliasing issue in Python/dtoa.c to use strict aliasing on Clang 4.0

Eric V. Smith report at bugs.python.org
Fri Apr 21 11:15:24 EDT 2017


Eric V. Smith added the comment:

I agree we shouldn't do anything heroic to "fix" dtoa.c. I'd wait and see if Gay (or other maintainers) will chose an approach if Clang keeps this behavior.

At most, I think Mark's idea to use -fno-strict-aliasing only on dtoa.c and nowhere else would be the better approach.

----------

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


More information about the Python-bugs-list mailing list