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

From: Hans Buschmann <buschmann(at)nidsa(dot)net>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: PG19beta1: GCC 16.1.1 warning: ‘actual_arg_types’ may be used uninitialized in clauses.c
Date: 2026-06-04 14:42:18
Message-ID: 6c52a1a6612948519468d46cb224a8c4@nidsa.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
compile_warning_19_b1_260604.txt text/plain 4.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-06-04 14:57:47 Re: future of PQfn()
Previous Message Nazir Bilal Yavuz 2026-06-04 14:28:30 Re: Heads Up: cirrus-ci is shutting down June 1st