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.96) (envelope-from ) id 1wZrQN-001L2D-0V for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 14:39:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZrQL-006JZz-2A for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 14:39:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZrQL-006JZq-1C for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2026 14:39:25 +0000 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZrQJ-00000000vH4-16ha for pgsql-hackers@postgresql.org; Wed, 17 Jun 2026 14:39:25 +0000 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-43bfe209e45so3567490fac.0 for ; Wed, 17 Jun 2026 07:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781707161; x=1782311961; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=xv7V04bsVZb7M0L99HFI4IHXFTqcj/8cM5s76cA+OGU=; b=OWuKyetNT0DnZESo5lfTnZ1D9nhI5tTTNHVKofuVf6l927QyuodIrqVRJnUpFjnW8R s/GJcGJEWmTYksiz/3JUz5aJzT/f+wfdfNev0xG107IueE4Cgf7O5sV1JGAgD8Ou0L5f e7p2hrc1/m23RwaTOvxQSC8gzBaAcA4QpNhDMJyTyHr1jS9kIcbyhnEsJyvmR/e211Xo RfdQxk4J3yD0GFQu0Wad/fXok6x2wbXy+ZmXOlJjEOBpepf7ALsKqravyHcFraisPtfb rJAuIoYztr7vEZfKc3X+vsr3CnTiW3Pp4F5x86mWElRibRMbhG75cBD9mKhpTCyqMpZa 1Jeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781707161; x=1782311961; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xv7V04bsVZb7M0L99HFI4IHXFTqcj/8cM5s76cA+OGU=; b=C3bOAis/ljExqxXIE2U0EJlW+9Q1t0+lqLGOg2F4pKEkP+FG0gMfcnXj881UExTm/E jpG+crA0yDMqT+NBb1gCGryDHBg6j0hR1cyqqaJDFLg2wq1iEgdbL7zFfNhfT+NR+xzx YLR6jeMSg4/uCLyeO8dWgKTi6DXpPZMRthF/VNFNa7n0iTkKA7oWEy2gPxJH1TJ3pe01 26GsJDqDeLHaEx4NVLfld/KV1G0qE8N/EJN4wokKUe5tp0bzKEp9a3TsRTYZbhGk8NvB nrY1WopLBfw98CQnNSviE8gB/pEFBiWCtn7ABFm0FCYC+7p64yrw3kriENzUrRbSuMF7 jwnw== X-Forwarded-Encrypted: i=1; AFNElJ950XW/VbDLUtXFUQSHk3R2p4rG1zP+3Z0faXJEdrSdwo6NoMK81fXKYiktw0GGHvzgInK+ogqDAkfAMk4m@postgresql.org X-Gm-Message-State: AOJu0YzhsSArNR/VhSrUojlSBicDOG+L53cKJnCIkSUz1qwEI2H+HuqX 1Q/sLFdyr/CK3/o1HP13NzGhq8wbR9CTBR46LXOqZPfmgSTQjqzlew2Anapbsg== X-Gm-Gg: AfdE7cnDtjFTUgiyu8dneEFnADsfV9kGM8erM5FgYqgMwYjRY+B7ZPM/Y0szr/fsFoa HCOvomdbU+874qjJgh4ISwwT/fi5g1y/rDwlZ2Rk2tCpcSvWNjzbpfaEcNk70ja3lhqEo3qWvd3 hdnbzfYnxkDn0GLEVn6OyhJR+078zHbH3oRdLoMk70CiGElN6T5RgS6P/TfiO1kr8CACM4E2w4J 6g/XAg9Mo/14iJeUiykxUeq85OMsDxf28Zzo233hnQUFrytf34OZix4L+o7eHW140P35n+ed7cF 3ivf+HQYhlOIqO4Hzu/7XY9SJbq8S9JuuUL2+jPesrnY9ql+geETM/EUJTy9zZbFiXcFT+qOgVR lR+lG0Y8vAqQL8dd74qDUI5KOBOP4PCOSNtZcJpEYCuPg4NzLC80oeWjCtPyu3MqLPGVfVfn7F5 KUatgve2Vj6p9RDdSbJaO26muCQTBa+JxbapSjT56CXEE3TkOmS4kSA5aY6hxJPddO2RULSBC1Z cTQj7adnZlVKDLWZX/BVQ== X-Received: by 2002:a05:6871:b26:b0:441:5147:1aff with SMTP id 586e51a60fabf-4466bf95805mr3036544fac.4.1781707160671; Wed, 17 Jun 2026 07:39:20 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-44308a66401sm4593647fac.3.2026.06.17.07.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2026 07:39:20 -0700 (PDT) Date: Wed, 17 Jun 2026 09:39:18 -0500 From: Nathan Bossart To: =?utf-8?Q?=C3=81lvaro?= Herrera Cc: Hans Buschmann , "pgsql-hackers@postgresql.org" Subject: Re: PG19beta1: GCC 16.1.1 =?utf-8?Q?warnin?= =?utf-8?B?Zzog4oCYYWN0dWFsX2FyZ190eXBlcw==?= =?utf-8?B?4oCZ?= may be used uninitialized in clauses.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jun 12, 2026 at 04:54:04PM +0200, Álvaro Herrera wrote: > On 2026-Jun-04, Nathan Bossart wrote: >> This code is ~18 years old, so I'm dubious there's a real problem here. >> Does something like this suppress the warning? >> >> Oid actual_arg_types[FUNC_MAX_ARGS] = {InvalidOid}; > > I agree that it doesn't look like there's a real problem, and that > something like what you suggest should silence this warning. I mildly > prefer to do " = {0}" though, the rules for C incomplete initializers > being so weird. But I wouldn't oppose this patch as posted. WFM. Hans, can you confirm this fixes the issue? -- nathan