]> granicus.if.org Git - postgresql/commit
Use a more bulletproof test for whether finite() and isinf() are present.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:23:22 +0000 (19:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:23:22 +0000 (19:23 +0000)
commitdb0558c11347ad27a032e6efed509a6e99b52e67
treec8c3b21776c722662b85ce936c07a410479ee523
parent9484e14c5cb1370c79b743d825c447794f0d00b5
Use a more bulletproof test for whether finite() and isinf() are present.
It seems that recent gcc versions can optimize away calls to these functions
even when the functions do not exist on the platform, resulting in a bogus
positive result.  Avoid this by using a non-constant argument and ensuring
that the function result is not simply discarded.  Per report from
François Laupretre.
configure
configure.in