Re: New compiler warnings in buildfarm - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: New compiler warnings in buildfarm
Date
Msg-id 78f5e12b-e016-4699-b8ea-9a04fa4511be@eisentraut.org
Whole thread Raw
In response to Re: New compiler warnings in buildfarm  (Andres Freund <andres@anarazel.de>)
Responses Re: New compiler warnings in buildfarm
List pgsql-hackers
On 31.07.24 20:39, Andres Freund wrote:
> On 2024-07-31 11:32:56 -0700, Andres Freund wrote:
>> On 2024-07-31 10:11:07 -0400, Tom Lane wrote:
>>> It looks like serinus needs this fix too.
>>
>> Added to both.  I've forced runs for both animals, so the bf should show
>> results of that soon.
> 
> I Wonder if I should also should add -Wno-clobbered to serinus' config. Afaict
> -Wclobbered is pretty useless once optimizations are used. I've long added
> that to my local dev environment flags because it's so noisy (which is too
> bad, in theory a good warning for this would be quite helpful).

It's unclear to me what to make of this.  We have in the past fixed a 
number of these, IIRC, and clearly in theory the risk that the warning 
points out does exist.  But these warnings appear erratic and 
inconsistent.  I'm using the same compiler versions but I don't see any 
of these warnings.  So I don't understand exactly what triggers these.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Next
From: Robert Haas
Date:
Subject: Re: can we mark upper/lower/textlike functions leakproof?