--On 16. Juni 2011 14:30:27 +0200 Radosław Smogura <rsmog...@softperience.eu> wrote:
Hello, I'm sending following patch which disables optimization when --enable-debug is passed. It was nasty (for me, at least) that debug build required passing of CFLAGS with -O0 to get nice traceable code.
-O0 hides bugs in your code (e.g. look at <http://archives.postgresql.org/message-id/9714F5232AB2C4FCFCB392D5@amenophis> and replies for an example to do it better). Doing this automatically on debug builds would be a step backwards.
-- Thanks Bernd -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers