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 1wIYpY-008D2M-2Y for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Apr 2026 21:21:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wIYpX-008rfh-0L for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Apr 2026 21:21:55 +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 1wIYpW-008rfZ-2d for pgsql-hackers@lists.postgresql.org; Thu, 30 Apr 2026 21:21:54 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wIYpU-000000046VS-2T59 for pgsql-hackers@lists.postgresql.org; Thu, 30 Apr 2026 21:21:54 +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 63ULLpO3814037; Thu, 30 Apr 2026 17:21:51 -0400 From: Tom Lane To: Erik Rijkers cc: PostgreSQL Hackers Subject: Re: warning under gcc 16.1.0 In-reply-to: <797eb494-e2d0-2fcd-b766-334df58cc2eb@xs4all.nl> References: <797eb494-e2d0-2fcd-b766-334df58cc2eb@xs4all.nl> Comments: In-reply-to Erik Rijkers message dated "Thu, 30 Apr 2026 22:52:36 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <814035.1777584111.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 30 Apr 2026 17:21:51 -0400 Message-ID: <814036.1777584111@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Erik Rijkers writes: > Compiling with gcc 16.1.0 gives the following warning and notes: > (horizontally compressed a bit te avoid excessive wrapping) > clauses.c: In function =E2=80=98recheck_cast_function_args.isra=E2=80=99= : > clauses.c:5139:19: warning: =E2=80=98actual_arg_types=E2=80=99 may be us= ed uninitialized = > [-Wmaybe-uninitialized] I'm inclined to write that off as "buggy early-version compiler". That code is visibly okay, and no other compiler version has warned about it. regards, tom lane