It missed a reference which is required because vector expansion
can move the object to another location.
From-SVN: r253382
+2017-10-03 Henry Linjamäki <henry.linjamaki@parmance.com>
+
+ * brigfrontend/brig-branch-inst-handler.cc: Fix (more) crash with
+ calls with more than 4 args. It missed a reference which is required
+ because vector expansion can move the object to another location.
+
2017-09-29 Henry Linjamäki <henry.linjamaki@parmance.com>
* brigfrontend/brig-branch-inst-handler.cc: Fix crash with
const BrigOperandOffset32_t *operand_ptr
= (const BrigOperandOffset32_t *) data->bytes;
- vec<tree, va_gc> *args = i == 0 ? out_args : in_args;
+ vec<tree, va_gc> *&args = i == 0 ? out_args : in_args;
while (bytes > 0)
{