Re: Patches applied; initdb time! - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Patches applied; initdb time!
Date
Msg-id 3CC337D2.3B126937@fourpalms.org
Whole thread Raw
In response to Re: Patches applied; initdb time!  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Patches applied; initdb time!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > But I do override some parameters in my Makefile.custom:
> > CFLAGS+= -g -O0 -DUSE_ASSERT_CHECKING
> If you use -O0 then you miss most of the interesting warnings.

?? Not in this case. afaik -O0 suppresses most optimizations (and hence
does not reorder instructions, which is why I use it for debugging; I
know, debuggers nowadays work pretty well even with instruction
reordering, but...).

Anyway, compiling with "-O2" on variable.c still does not show the
warnings with my 2.96.x compiler...
                 - Thomas


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Patches applied; initdb time!
Next
From: Tom Lane
Date:
Subject: Re: Coster/planner and edge cases...