Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > You would think that would catch it. My problem is that I am compiling
> > with -O0, because I compile all day and I don't care about optimization.
>
> You should reconsider that. At -O0 gcc doesn't do any flow analysis,
> and thus you lose many important warnings. I'd recommend -O1 at least.
Yes, I will re-add -O to my flags. When I did it I forgot it would
affect warnings. In fact, I am now seeing a similar warning in python
that I hadn't seen before, and others probably don't see it because they
don't compile python.
FYI, -O2 adds only 2 minutes to my 13 minute test script (but increases
the cpu usage from 4 to 6 minutes).
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073