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 dim
Recipients dim, koobs, mark.dickinson, vstinner
Date 2017-04-20.21:46:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492724792.6.0.0866087078767.issue30104@psf.upfronthosting.co.za>
In-reply-to
Content
This is most likely the same issue we found in https://bugs.freebsd.org/216770, which was reported upstream to LLVM here: https://bugs.llvm.org//show_bug.cgi?id=31928, and resulted in a very long and not really productive discussion about whether type punning in this way is officially allowed, or a GNU extension.  I will gladly leave it to language lawyers. :)

In our case, easy fix was to use -fno-strict-aliasing, as we did here:
https://svnweb.freebsd.org/changeset/base/313706
History
Date User Action Args
2017-04-20 21:46:32dimsetrecipients: + dim, mark.dickinson, vstinner, koobs
2017-04-20 21:46:32dimsetmessageid: <1492724792.6.0.0866087078767.issue30104@psf.upfronthosting.co.za>
2017-04-20 21:46:32dimlinkissue30104 messages
2017-04-20 21:46:32dimcreate