Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9pTV-00000002FSS-3W3U for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Sep 2026 19:51:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x9pTV-0000000ELM6-0Nn9 for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Sep 2026 19:51:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9pTU-0000000ELLy-3Px0 for pgsql-hackers@lists.postgresql.org; Thu, 24 Sep 2026 19:51:20 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9pTS-000000015LG-0jg1 for pgsql-hackers@postgresql.org; Thu, 24 Sep 2026 19:51:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 68OJp5451812499; Thu, 24 Sep 2026 15:51:05 -0400 From: Tom Lane To: Nathan Bossart cc: =?utf-8?Q?=C3=81lvaro?= Herrera , Hans Buschmann , Erik Rijkers , "pgsql-hackers@postgresql.org" Subject: =?UTF-8?Q?Re:_AW:_PG19beta1:_GCC_16.1.1_warning:_=E2=80=98actual=5F?= =?UTF-8?Q?arg=5Ftypes=E2=80=99_may_be_used_uninitialized_in_claus?= =?UTF-8?Q?es.c?= In-reply-to: References: Comments: In-reply-to Nathan Bossart message dated "Thu, 18 Jun 2026 11:30:41 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1812497.1790279465.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 24 Sep 2026 15:51:05 -0400 Message-ID: <1812498.1790279465@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nathan Bossart writes: > On Thu, Jun 18, 2026 at 06:08:12PM +0200, =C3=81lvaro Herrera wrote: >> I'd stop at 14 and call it a day. It doesn't prevent building, which i= s >> IIRC the criteria we use for the older branches. > WFM. Committed, thanks. Since I updated 'mamba' to NetBSD 11 (which has gcc 12.5.0), it's been spewing a closely related warning: parse_func.c: In function 'LookupFuncWithArgs': parse_func.c:2457:15: warning: 'argoids' may be used uninitialized [-Wmayb= e-uninitialized] 2457 | oid =3D LookupFuncNameInternal(func->args_unspecified ? objtyp= e : OBJECT_ROUTINE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~ 2458 | func->objname, nargs, argoids, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2459 | false, missing_ok, | ~~~~~~~~~~~~~~~~~~ 2460 | &lookupError); | ~~~~~~~~~~~~~ parse_func.c:2234:1: note: by argument 4 of type 'const Oid *' {aka 'const= unsigned int *'} to 'LookupFuncNameInternal' declared here 2234 | LookupFuncNameInternal(ObjectType objtype, List *funcname, | ^~~~~~~~~~~~~~~~~~~~~~ parse_func.c:2395:33: note: 'argoids' declared here 2395 | Oid argoids[FUNC_MAX_ARGS]; | ^~~~~~~ Presumably this could be silenced in the same way as in f04781df5. I haven't troubled so far because I don't see any other BF animals producing the same warning, but perhaps we should silence this one too? regards, tom lane