Re: additional GCC warning flags - Mailing list pgsql-patches

From Tom Lane
Subject Re: additional GCC warning flags
Date
Msg-id 16516.1098202074@sss.pgh.pa.us
Whole thread Raw
In response to Re: additional GCC warning flags  (Neil Conway <neilc@samurai.com>)
Responses Re: additional GCC warning flags
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> Attached is a revised patch. Changes:

Looks reasonable to me.  Just one comment: should the
-fno-strict-aliasing probe be inside the "if test "$GCC" = yes" part?
It effectively was in the original.

> BTW, since we're on the topic of compiler options, is there a reason we
> don't use -g3 with GCC when --enable-debug is specified? It seems worth
> using to me.

How much does it bloat the executable?

            regards, tom lane

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] strange result from contrib/seg regression on windows
Next
From: Tom Lane
Date:
Subject: Re: additional GCC warning flags