Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e435bdd

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

File tree

Expand file treeCollapse file tree

2 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-7
lines changed

‎configure

Copy file name to clipboardExpand all lines: configure
+4-4Lines 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

Copy file name to clipboardExpand all lines: configure.in
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.