[Python-Dev] ANSI strict aliasing and Python

Martin v. L÷wis martin@v.loewis.de
19 Jul 2003 11:16:42 +0200


Andrew MacIntyre <andymac@bullseye.apana.org.au> writes:

> I've never used no-strict-aliasing with gcc on the EMX port.  With gcc
> 2.8.1 and 2.95.2 -O3, I've not seen failures that appear to be bad code;

Those compilers either did not support -fno-strict-aliasing at all, or
had it turned on by default; it is only gcc 3 which has
-fstrict-aliasing as the default for optimization levels >=2.

Regards,
Martin