Re: New compiler warnings in buildfarm

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: New compiler warnings in buildfarm
Дата
Msg-id 78f5e12b-e016-4699-b8ea-9a04fa4511be@eisentraut.org
обсуждение исходный текст
Ответ на Re: New compiler warnings in buildfarm  (Andres Freund <andres@anarazel.de>)
Ответы Re: New compiler warnings in buildfarm
Список 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 по дате отправления: