Re: warning under gcc 16.1.0

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Rijkers <er@xs4all.nl>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-30T21:21:51Z
Lists: pgsql-hackers
Erik Rijkers <er@xs4all.nl> 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 ‘recheck_cast_function_args.isra’:
> clauses.c:5139:19: warning: ‘actual_arg_types’ may be used 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