Commit 9c53f040 by Henry Linjamäki Committed by Pekka Jääskeläinen

[BRIGFE] 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.

From-SVN: r253382
parent 4f8d1d32
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
......
......@@ -70,7 +70,7 @@ brig_branch_inst_handler::operator () (const BrigBase *base)
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment