Alvaro Herrera writes: > Jim Nasby wrote: >> Do we officially not support anything > -O2? If so it'd be nice if configure >> threw at least a warning (if not an error that you had to explicitly >> over-ride). > > Keep in mind this is Sun OS C -- not one of the most popular compilers > in the world. I don't know what you suggest: have a test program that > configure runs and detects whether the compiler does the wrong thing? > It doesn't seem a sane idea to maintain test cases for all known > compiler bugs ...
I think the intention was to make configure complain if there's a -O > 2 in CFLAGS. OTOH, a unit test for multixact.c that exercises the code including wraparounds sounds like a desirable thing regardless of the fact that it could have caught this miscompilation earlier than 6 months into production. regards, Andreas -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers