missed a need to increment the users of the temp for chained functions

This commit is contained in:
Bill Currie 2001-08-24 22:29:06 +00:00
parent cee850e499
commit f16886b7f1

View file

@ -766,6 +766,7 @@ binary_expr (int op, expr_t *e1, expr_t *e2)
&& e2->type == ex_block && e2->e.block.is_call && e2->type == ex_block && e2->e.block.is_call
&& e1->e.block.result) { && e1->e.block.result) {
e = new_temp_def_expr (e1->e.block.result->e.def->type); e = new_temp_def_expr (e1->e.block.result->e.def->type);
inc_users (e);
e1 = binary_expr ('=', e, e1); e1 = binary_expr ('=', e, e1);
} }