]> 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:24:27 +0000 (19:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:24:27 +0000 (19:24 +0000)
commit1937d8d9efcc0444525a8eb1f6fbc11fddb9512d
tree4bb8b9972337069d2bf031e7203db1a7251aa0ab
parent1fc010cc9695c72fedd45b85ed2d8dadcdc7734a
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