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
- compile_warning_19_b1_260604.txt (text/plain)
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 →
-
Silence "may be used uninitialized" compiler warning.
- f04781df5daf 19 (unreleased) landed
- e86b7a05fd01 16 (unreleased) landed
- d0db43e880be 15 (unreleased) landed
- b2a6a27bac38 14 (unreleased) landed
- 7fbbe75875ca 17 (unreleased) landed
- 78d89a7b5316 18 (unreleased) landed