Re: gcc 11.1.0 warnings in llvmjit_expr.c

2021-05-05 Thread Andres Freund
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 >

Re: gcc 11.1.0 warnings in llvmjit_expr.c

2021-05-05 Thread Andres Freund
Hi, 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. Greetings, Andre

gcc 11.1.0 warnings in llvmjit_expr.c

2021-04-28 Thread Erik Rijkers
Hello, gcc 11.1.0 produces quite a litany of second thoughts when compiling llvmjit_expr.c; is there something in it? (all 'warning' or 'note') llvmjit_expr.c: In function ‘llvm_compile_expr’: llvmjit_expr.c:69:9: warning: ‘build_EvalXFuncInt’ accessing 8 bytes in a region of size 0 [-Wstr