This commit is contained in:
Wolfgang Bumiller 2012-12-23 21:34:04 +01:00
parent 63928e231c
commit 1ac913877e

3
ir.c
View file

@ -2760,8 +2760,7 @@ tailcall:
retvalue = instr->_ops[0]; retvalue = instr->_ops[0];
if (retvalue && retvalue->store != store_return && if (retvalue && retvalue->store != store_return &&
(retvalue->store == store_global || (vec_size(retvalue->life) && vec_size(retvalue->reads))) (retvalue->store == store_global || vec_size(retvalue->life)))
)
{ {
/* not to be kept in OFS_RETURN */ /* not to be kept in OFS_RETURN */
if (retvalue->vtype == TYPE_FIELD && OPTS_FLAG(ADJUST_VECTOR_FIELDS)) if (retvalue->vtype == TYPE_FIELD && OPTS_FLAG(ADJUST_VECTOR_FIELDS))