Re: compiler warnings with gcc 4.8 and -Og - Mailing list pgsql-hackers

From Tom Lane
Subject Re: compiler warnings with gcc 4.8 and -Og
Date
Msg-id 1027450.1654187207@sss.pgh.pa.us
Whole thread Raw
In response to Re: compiler warnings with gcc 4.8 and -Og  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I tried to use -Og many times, but in the end mostly gave up, because it still
> makes debugging harder compared to -O0.

Yeah.  My own habit is to build with -O2 normally.  If I'm trying to
debug some bit of code and find that I can't follow things adequately
in gdb, I recompile just the relevant file(s) with -O0.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: Defer selection of asynchronous subplans until the executor initialization stage
Next
From: Robert Haas
Date:
Subject: replacing role-level NOINHERIT with a grant-level option