Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRgBp-0000sz-Vl for pgsql-hackers@arkaria.postgresql.org; Sun, 11 Oct 2020 18:35:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRgBo-0007d7-Mi for pgsql-hackers@arkaria.postgresql.org; Sun, 11 Oct 2020 18:35:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRgBo-0007d0-Fw for pgsql-hackers@lists.postgresql.org; Sun, 11 Oct 2020 18:35:24 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRgBi-0006gZ-2g for pgsql-hackers@lists.postgresql.org; Sun, 11 Oct 2020 18:35:23 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1471:c340:69b0:3a8a:177f:17fb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4C8Vq62xnyz3DxD; Sun, 11 Oct 2020 20:35:14 +0200 (CEST) Date: Sun, 11 Oct 2020 20:35:13 +0200 From: Christoph Berg To: Tom Lane Cc: Noah Misch , pgsql-hackers@lists.postgresql.org Subject: Re: powerpc pg_atomic_compare_exchange_u32_impl: error: comparison of integer expressions of different signedness (Re: pgsql: For all ppc compilers, implement compare_exchange and) fetch_add Message-ID: <20201011183513.GA709789@msg.df7cb.de> References: <20201009092825.GD889580@msg.df7cb.de> <20201009100117.GA1550390@rfd.leadboat.com> <20201011051043.GA1724101@rfd.leadboat.com> <3006140.1602436360@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3006140.1602436360@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Tom Lane > > I plan not to back-patch either of these. > > Hmm, I'd argue for a back-patch. The issue of modern compilers > warning about the incorrect code will apply to all supported branches. > Moreover, even if we don't use these code paths today, who's to say > that someone won't back-patch a bug fix that requires them? I do not > think it's unreasonable to expect these functions to work well in > all branches that have them. Or remove them. (But fixing seems better.) Christoph