]> 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:48 +0000 (19:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:24:48 +0000 (19:24 +0000)
commit158c7f32b497af31943162250b548897a797be72
treeb2d9d9014f6acb5d1a4dd72c7c7effabd1bd0b0b
parentb4feb29e0de7b583cbad57b076a9a63b81d12695
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