Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d68Gv-00035e-Gd for pgsql-hackers@arkaria.postgresql.org; Thu, 04 May 2017 04:21:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d68Gv-0004Hy-3L for pgsql-hackers@arkaria.postgresql.org; Thu, 04 May 2017 04:21:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d68Gu-0004HX-Hi for pgsql-hackers@postgresql.org; Thu, 04 May 2017 04:21:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d68Gr-0000Pg-Ef for pgsql-hackers@postgresql.org; Thu, 04 May 2017 04:21:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v444Lcn3019106; Thu, 4 May 2017 00:21:38 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: GCC 7 warnings In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Wed, 03 May 2017 21:59:21 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19104.1493871698.1@sss.pgh.pa.us> Date: Thu, 04 May 2017 00:21:38 -0400 Message-ID: <19105.1493871698@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut writes: > On 4/10/17 11:03, Peter Eisentraut wrote: >> The release of GCC 7 is approaching [0], and the number of warnings in >> PostgreSQL has gone up since we last looked [1]. Output attached. (My >> version is 7.0.1 20170408.) > GCC 7 has been released. > Should we backpatch these warning fixes? The commit in question is > 6275f5d28a1577563f53f2171689d4f890a46881. (I haven't actually checked > whether backpatches well.) Seems like that patch represents generally better coding practice, and applying it would reduce cross-branch differences that would be hazards for future patches, so I'm mostly +1 for this. But I'd suggest waiting till after next week's releases. If there are any problems induced by this, we'd be more likely to find them with another three months' time before it hits the wild. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers