Commit 4ab91a93 authored by Yang Tse's avatar Yang Tse
Browse files

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.
parent 6647ca6e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"
       )