public inbox for [email protected]
help / color / mirror / Atom feedFrom: Erik Rijkers <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: warning under gcc 16.1.0
Date: Thu, 30 Apr 2026 22:52:36 +0200
Message-ID: <[email protected]> (raw)
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]
5139 | rettype = enforce_generic_type_consistency(actual_arg_types,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5140 | declared_arg_types,
| ~~~~~~~~~~~~~~~~~~~
5141 | nargs,
| ~~~~~~
5142 | funcform->prorettype,
| ~~~~~~~~~~~~~~~~~~~~~
5143 | false);
| ~~~~~~
In file included from clauses.c:46:
../../../../src/include/parser/parse_coerce.h:85:17: note: by argument 1
of type ‘const Oid *’ {aka ‘const unsigned int *’} to
‘enforce_generic_type_consistency’ declared here
85 | extern Oid enforce_generic_type_consistency(const Oid
*actual_arg_types,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clauses.c:5125:33: note: ‘actual_arg_types’ declared here
5125 | Oid actual_arg_types[FUNC_MAX_ARGS];
| ^~~~~~~~~~~~~~~~
HTH,
Erik
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: warning under gcc 16.1.0
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox