fixed a serious codegen bug where for loops with no variable declarations would misalign the internal stack tracker of the compiler
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40760
This commit is contained in:
parent
3493467771
commit
45d0589585
@ -5868,6 +5868,8 @@ static int dofor(void)
|
||||
declared=save_decl;
|
||||
delete_symbols(&loctab,nestlevel,FALSE,TRUE);
|
||||
nestlevel=save_nestlevel; /* reset 'compound statement' nesting level */
|
||||
} else {
|
||||
popstacklist(0);
|
||||
} /* if */
|
||||
|
||||
index=endlessloop ? tENDLESS : tFOR;
|
||||
|
Loading…
Reference in New Issue
Block a user