Re: Debian 12 gcc warning - Mailing list pgsql-hackers

From John Naylor
Subject Re: Debian 12 gcc warning
Date
Msg-id CAFBsxsFbNiq-S9VyBmon7J43q_pkSBgyCqWnhwj=Get51jfcAA@mail.gmail.com
Whole thread Raw
In response to Re: Debian 12 gcc warning  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Debian 12 gcc warning
List pgsql-hackers

On Tue, Aug 29, 2023 at 6:56 AM David Rowley <dgrowleyml@gmail.com> wrote:
>
> I'm just not sure if it's unable to figure out if at least nargs
> elements is set or if it won't be happy until all 100 elements are
> set.

It looks like the former, since I can silence it on gcc 13 / -O1 by doing:

/* keep compiler quiet */
actual_arg_types[0] = InvalidOid;

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Logger process and "LOG: could not close client or listen socket: Bad file descriptor"
Next
From: "a.rybakina"
Date:
Subject: Re: POC, WIP: OR-clause support for indexes