[Numpy-discussion] strict aliasing?
Sun May 4 09:28:39 CDT 2008
On Sonntag 04 Mai 2008, Neal Becker wrote:
> Is it safe to compile numpy with gcc 'strict aliasing'?
It seems that numpy (and most other Python-related C code) would constantly be
casting back and forth between PyObject * and PyArrayObject * (and others).
Does strict aliasing allow that, as long as each struct member is only ever
accessed through one type?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080504/5b6fc4a1/attachment.bin
More information about the Numpy-discussion