Re: gcc 4.3 breaks ContribCheck in 8.2 and older. - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: gcc 4.3 breaks ContribCheck in 8.2 and older.
Date
Msg-id 47E7F0D7.4060008@dunslane.net
Whole thread Raw
In response to Re: gcc 4.3 breaks ContribCheck in 8.2 and older.  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers

Alvaro Herrera wrote:
> Kurt Roeckx wrote:
>
>   
>> No, this has nothing to do with CFLAGS.  It's calling a function which
>> returns something other than it actually returns.
>>     
>
> Yeah but apparently gcc 4.3 is working in 8.3 and later.  What happens
> to your sample program if you compile it with the CFLAGS used in 8.3
> versus those used in 8.2?  pg_config --configure will show these.
>
>   

I am seeing the same results as Kurt. The CFLAGS as reported by 
pg_config are identical:

CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g
CFLAGS_SL = -fpic

cheers

andrew



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: gcc 4.3 breaks ContribCheck in 8.2 and older.
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Eliminate more detoast copies for packed varlenas