aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:24:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:24:27 +0000
commit1937d8d9efcc0444525a8eb1f6fbc11fddb9512d (patch)
tree4bb8b9972337069d2bf031e7203db1a7251aa0ab /src
parent1fc010cc9695c72fedd45b85ed2d8dadcdc7734a (diff)
downloadpostgresql-1937d8d9efcc0444525a8eb1f6fbc11fddb9512d.tar.gz
postgresql-1937d8d9efcc0444525a8eb1f6fbc11fddb9512d.zip
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions