10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f25b185 commit 5e0c761Copy full SHA for 5e0c761
src/bin/pgbench/pgbench.c
@@ -2239,10 +2239,15 @@ evalStandardFunc(CState *st,
2239
{
2240
/* evaluate all function arguments */
2241
int nargs = 0;
2242
- PgBenchValue vargs[MAX_FARGS] = { 0 };
2243
PgBenchExprLink *l = args;
2244
bool has_null = false;
2245
+ /*
2246
+ * This value is double braced to workaround GCC bug 53119, which seems to
2247
+ * exist at least on gcc (Debian 4.7.2-5) 4.7.2, 32-bit.
2248
+ */
2249
+ PgBenchValue vargs[MAX_FARGS] = { { 0 } };
2250
+
2251
for (nargs = 0; nargs < MAX_FARGS && l != NULL; nargs++, l = l->next)
2252
2253
if (!evaluateExpr(st, l->expr, &vargs[nargs]))
0 commit comments