mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 19:01:17 +08:00
[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
This commit is contained in:
parent
4f8d1d3268
commit
9c53f040cb
@ -1,3 +1,9 @@
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user