mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Mark ptr assignment offset as an operand
This fixes structptr. All current tests pass.
This commit is contained in:
parent
578bf9a16f
commit
22cd39c853
1 changed files with 1 additions and 0 deletions
|
@ -1137,6 +1137,7 @@ flow_analyze_statement (statement_t *s, set_t *use, set_t *def, set_t *kill,
|
|||
} else if (!strcmp (s->opcode, ".=")) {
|
||||
flow_add_op_var (use, s->opc, 1);
|
||||
res_op = flow_analyze_pointer_operand (s->opb, def);
|
||||
aux_op1 = s->opc;
|
||||
} else {
|
||||
internal_error (s->expr, "unexpected opcode '%s' for %d",
|
||||
s->opcode, s->type);
|
||||
|
|
Loading…
Reference in a new issue