Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e435bdd

Browse files
committed
Revert ill-starred change to ICC anti-aliasing switches. Per
Jeremy Drake.
1 parent 6ee3b2d commit e435bdd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

configure

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3120,11 +3120,11 @@ echo "${ECHO_T}no" >&6
31203120
fi
31213121
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31223122

3123-
# ICC prefers to spell the no-strict-aliasing switch like this
3124-
echo "$as_me:$LINENO: checking if $CC supports -fno-alias" >&5
3125-
echo $ECHO_N "checking if $CC supports -fno-alias... $ECHO_C" >&6
3123+
# Make sure strict aliasing is off (though this is said to be the default)
3124+
echo "$as_me:$LINENO: checking if $CC supports -fno-strict-aliasing" >&5
3125+
echo $ECHO_N "checking if $CC supports -fno-strict-aliasing... $ECHO_C" >&6
31263126
pgac_save_CFLAGS=$CFLAGS
3127-
CFLAGS="$pgac_save_CFLAGS -fno-alias"
3127+
CFLAGS="$pgac_save_CFLAGS -fno-strict-aliasing"
31283128
cat >conftest.$ac_ext <<_ACEOF
31293129
/* confdefs.h. */
31303130
_ACEOF

configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.525 2007/09/11 19:50:25 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.526 2007/09/12 14:28:55 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -291,8 +291,8 @@ elif test "$ICC" = yes; then
291291
# Intel's compiler has a bug/misoptimization in checking for
292292
# division by NAN (NaN == 0), -mp1 fixes it, so add it to the CFLAGS.
293293
PGAC_PROG_CC_CFLAGS_OPT([-mp1])
294-
# ICC prefers to spell the no-strict-aliasing switch like this
295-
PGAC_PROG_CC_CFLAGS_OPT([-fno-alias])
294+
# Make sure strict aliasing is off (though this is said to be the default)
295+
PGAC_PROG_CC_CFLAGS_OPT([-fno-strict-aliasing])
296296
elif test x"${CC}" = x"xlc"; then
297297
# AIX xlc has to have strict aliasing turned off too
298298
PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias])

0 commit comments

Comments
 (0)