[issue17237] m68k aligns on 16bit boundaries.

Serhiy Storchaka report at bugs.python.org
Sat May 11 14:55:21 CEST 2013


Serhiy Storchaka added the comment:

PyASCIIObject is allocated on heap and should have a maximal alignment enough for every type. If sizeof(PyASCIIObject) % SIZEOF_LONG == 0 then dest is at least long-aligned. Currently sizeof(PyASCIIObject) is 22 on m68k and the optimization is switched off at compile time. When PyASCIIObject will grow to 24 bytes the optimization will switched on and perhaps will have some effect. I prefer checks for features instead of concrete names.

----------

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


More information about the Python-bugs-list mailing list