Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 082d9d6

Browse filesBrowse files
committed
jit: Fix warning reported by gcc-11 caused by dubious function signature.
Reported-By: Erik Rijkers <er@xs4all.nl> Discussion: https://postgr.es/m/833107370.1313189.1619647621213@webmailclassic.xs4all.nl Backpatch: 13, where b059d2f introduced the issue.
1 parent 923c135 commit 082d9d6
Copy full SHA for 082d9d6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/backend/jit/llvm/llvmjit_expr.c

Copy file name to clipboardExpand all lines: src/backend/jit/llvm/llvmjit_expr.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static LLVMValueRef build_EvalXFuncInt(LLVMBuilderRef b, LLVMModuleRef mod,
6161
const char *funcname,
6262
LLVMValueRef v_state,
6363
ExprEvalStep *op,
64-
int natts, LLVMValueRef v_args[]);
64+
int natts, LLVMValueRef *v_args);
6565
static LLVMValueRef create_LifetimeEnd(LLVMModuleRef mod);
6666

6767
/* macro making it easier to call ExecEval* functions */
@@ -2471,7 +2471,7 @@ BuildV1Call(LLVMJitContext *context, LLVMBuilderRef b,
24712471
static LLVMValueRef
24722472
build_EvalXFuncInt(LLVMBuilderRef b, LLVMModuleRef mod, const char *funcname,
24732473
LLVMValueRef v_state, ExprEvalStep *op,
2474-
int nargs, LLVMValueRef v_args[])
2474+
int nargs, LLVMValueRef *v_args)
24752475
{
24762476
LLVMValueRef v_fn = llvm_pg_func(mod, funcname);
24772477
LLVMValueRef *params;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.