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 1pcplr-0004PC-Sx for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2023 15:44:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pcplq-0001mi-HL for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2023 15:44:02 +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 1pcplq-0001mE-7k for pgsql-hackers@lists.postgresql.org; Thu, 16 Mar 2023 15:44:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcplo-0002vH-1G for pgsql-hackers@lists.postgresql.org; Thu, 16 Mar 2023 15:44:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 32GFhwo43787745; Thu, 16 Mar 2023 11:43:58 -0400 From: Tom Lane To: Melanie Plageman cc: Pavel Stehule , PostgreSQL Hackers Subject: Re: gcc 13 warnings In-reply-to: References: Comments: In-reply-to Melanie Plageman message dated "Thu, 16 Mar 2023 10:21:23 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3787743.1678981438.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Mar 2023 11:43:58 -0400 Message-ID: <3787744.1678981438@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Melanie Plageman writes: > On Thu, Mar 16, 2023 at 9:40=E2=80=AFAM Pavel Stehule wrote: >> ../src/include/varatt.h:230:36: warning: array subscript 0 is outside a= rray bounds of =E2=80=98char[0]=E2=80=99 [-Warray-bounds=3D] > I see these with gcc 12.2.0 also. Hmm, I do not see any warnings on HEAD with Fedora 37's gcc 12.2.1. What non-default configure switches, CFLAGS, etc are you using? regards, tom lane