Re: Patches applied; initdb time!

From: Thomas Lockhart <thomas(at)fourpalms(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patches applied; initdb time!
Date: 2002-04-21 22:06:10
Message-ID: 3CC337D2.3B126937@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2002-04-21 22:06:59 Re: Patches applied; initdb time!
Previous Message Thomas Lockhart 2002-04-21 21:53:31 Re: Patches applied; initdb time!

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-04-21 22:06:21 Re: Coster/planner and edge cases...
Previous Message Thomas Lockhart 2002-04-21 22:01:42 Re: GUC vs variable.c (was Patches applied...)