Re: [HACKERS] Regression tests on intel for 6.5.2
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christof Petig <christof.petig@wtal.de>
Cc: Lamar Owen <lamar.owen@wgcr.org>, pgsql-hackers@postgreSQL.org
Date: 1999-09-30T13:25:04Z
Lists: pgsql-hackers
Christof Petig <christof.petig@wtal.de> writes: > Perhaps (strange thoughts come in to my mind ...) the compiler > optimizes the function call into a machine instruction ... > /tmp> cc -O2 -o test test.c -lm > /tmp> ./test > !finite > Looks like this is the case. Bingo! I think you've got it. > I would propose another autoconf test. (I could easily do it.) Yes, we should not be assuming that finite() is a macro, which is what that #ifdef coding does. We need a HAVE_FINITE configuration test. If you have time to prepare the diffs it'd be great. regards, tom lane