From: Yang Tse Date: Wed, 7 Feb 2007 17:34:30 +0000 (+0000) Subject: AIX xlc has to have strict aliasing turned off. If not, the optimizer X-Git-Tag: curl-7_16_2~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab91a93e8a895fd8c2f9b4523c3129110def8fc;p=thirdparty%2Fcurl.git AIX xlc has to have strict aliasing turned off. If not, the optimizer assumes that pointers can only point to an object of the same type. --- diff --git a/configure.ac b/configure.ac index 5e16564ea1..dcc53dc6da 100644 --- a/configure.ac +++ b/configure.ac @@ -1459,6 +1459,10 @@ if test "x$RECENTAIX" = "xyes"; then XLC="yes" AC_MSG_RESULT([yes]) CFLAGS="$CFLAGS -qthreaded" + dnl AIX xlc has to have strict aliasing turned off. If not, + dnl the optimizer assumes that pointers can only point to + dnl an object of the same type. + CFLAGS="$CFLAGS -qnoansialias" )