petere@postgresql.org (Peter Eisentraut - PostgreSQL) writes:
> Log message:
> Put in defense against gcc -ffast-math.
It occurs to me that it might also be a good idea to put something like
this in timestamp.c:
#ifdef __FAST_MATH__
#error -ffast-math is known to break this code
#endif
to guard against people modifying the CFLAGS after running configure.
The configure test is good, because it catches the problem sooner,
but it's not foolproof.
Comments?
regards, tom lane