Yury V. Zaytsev added the comment:

After lots of fiddling, I can tell you what's wrong with the macro: apparently 
it's a compiler bug, visible at -O2 and disappearing at -O1. 

Assembly output is attached, unfortunately, I'm no ppc64 expert, so I can't 
immediately tell what exactly went wrong.

In any case, the first half of the bug (missing check for HAVE_LETOH64) which 
triggered the second half still seems valid.

I think it's not feasible to upgrade the compiler on RHEL 6.5 (unless someone 
with a subscription wants to have a go), but fixing the first part should avoid 
the compiler bug altogether.

----------
Added file: http://bugs.python.org/file33345/le64toh.diff

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

Reply via email to