force system to check for overflows at end of procceed for clauses with body.

This commit is contained in:
Vitor Santos Costa
2010-10-11 14:45:15 +01:00
parent f40ba3e6db
commit e5232bc8fc
8 changed files with 33 additions and 4 deletions

View File

@@ -3507,7 +3507,11 @@ do_pass(int pass_no, yamop **entry_codep, int assembling, int *clause_has_blobsp
!clinfo.alloc_found)
code_p = a_e(_unlock_lu, code_p, pass_no);
#endif
code_p = a_pl(_procceed, cip->CurrentPred, code_p, pass_no);
if (clinfo.alloc_found) {
code_p = a_pl(_safe_procceed, cip->CurrentPred, code_p, pass_no);
} else {
code_p = a_pl(_procceed, cip->CurrentPred, code_p, pass_no);
}
break;
case call_op:
code_p = a_p(_call, &clinfo, code_p, pass_no, cip);