--- postgresql-8.1.5/configure.in 2006-10-12 23:41:27.000000000 +0400 +++ postgresql-8.1.5-patched/configure.in 2007-04-01 18:35:40.000000000 +0400 @@ -266,11 +266,6 @@ PGAC_PROG_CC_CFLAGS_OPT([-Wdeclaration-after-statement]) PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels]) - else - # Intel compiler has a bug/misoptimization in checking for - # division by NAN (NaN == 0), -mp1 fixes it, so add it to the - # CFLAGS. - PGAC_PROG_CC_CFLAGS_OPT([-mp1]) fi # Disable strict-aliasing rules; needed for gcc 3.3+