Re: gcc 11.1.0 warnings in llvmjit_expr.c

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Erik Rijkers <er@xs4all.nl>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-05-06T05:31:40Z
Lists: pgsql-hackers
On 2021-05-05 22:30:44 -0700, Andres Freund wrote:
> On 2021-04-29 00:07:01 +0200, Erik Rijkers wrote:
> > gcc 11.1.0 produces quite a litany of second thoughts when compiling llvmjit_expr.c; is there something in it?
> 
> They're wrong, but I can see why it warns - the signature choice was
> weird. Pushed the fix to 13 and master.

Oh, and thanks for the report....



Commits

  1. jit: Fix warning reported by gcc-11 caused by dubious function signature.