Mark Dickinson added the comment:

Hmm. Just looked at dto5.c; nice work reducing it to something so simple.

This is looking a bit like either a strict-aliasing related problem, or a 
compiler bug, or both. My understanding of the "union trick" that dtoa.c uses 
is that it's well-defined under C99+TC3 (though that wasn't clear under the 
original C99), so it shouldn't be legitimate for an optimisation to cause 
different results to be produced.

So this is smelling like a compiler bug to me.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to