PG19beta1: GCC 16.1.1 warning: ‘actual_arg_types’ may be used uninitialized in clauses.c

Hans Buschmann <buschmann@nidsa.net>

From: Hans Buschmann <buschmann@nidsa.net>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2026-06-04T14:42:18Z
Lists: pgsql-hackers

Attachments

When compiling PG19 beta1 on Fedora 44 I got the following warning:


839/2360] Compiling C object src/backend/postgres_lib.a.p/optimizer_util_clauses.c.o
../src/backend/optimizer/util/clauses.c: In function ‘recheck_cast_function_args.isra’:
../src/backend/optimizer/util/clauses.c:5152:19: warning: ‘actual_arg_types’ may be used uninitialized [-Wmaybe-uninitialized]
 5152 |         rettype = enforce_generic_type_consistency(actual_arg_types,

This is still the same as reported in BUG 19485


https://www.postgresql.org/message-id/19485-2b03231a775756f1%40postgresql.org



configuration/full message  attached


Hans Buschmann

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Silence "may be used uninitialized" compiler warning.