Re: More weird compiler warnings - Mailing list pgsql-hackers

From Andres Freund
Subject Re: More weird compiler warnings
Date
Msg-id 20220326212629.ucvd5nki6ablt43y@alap3.anarazel.de
Whole thread Raw
In response to Re: More weird compiler warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2022-03-26 17:04:16 -0400, Tom Lane wrote:
> Hmm, looks like the gcc folk aren't too sure either ;-).

Heh, yea ;)

> Okay, so we can change this code, or just do nothing and wait for
> a repaired gcc.  Since that's an unreleased version there's no
> concern about any possible bug in-the-wild.  I think it probably
> should come down to whether we think the predecrement form is
> indeed more readable.

Agreed.


> I'm about +0.1 towards changing, what do you think?

Similar.


Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: pg_stat_get_replication_slot() marked not strict, crashes
Next
From: Tom Lane
Date:
Subject: Re: Column Filtering in Logical Replication