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

From Thomas Lockhart
Subject Re: Patches applied; initdb time!
Date
Msg-id 3CC33F01.B9F50EE3@fourpalms.org
Whole thread Raw
In response to Re: Patches applied; initdb time!  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
...
> In particular, you don't get "unused variable" and "variable may not
> have been set before being used" warnings at -O0, because the
> control-flow analysis needed to emit those warnings is not done at -O0.

Right. The point is that I don't get those (apparently) with -O2 either,
with my particular compiler. Hmm. Actually, I *do* get those if I make
sure that some of the other options are set too; my quick test added -O2
but left out some of the -w switches. OK, never mind...
                     - Thomas


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Patches applied; initdb time!
Next
From: Michael Loftis
Date:
Subject: Re: Coster/planner and edge cases...