102 karma · joined Mar 31, 2018 (8y ago) · 44 submissions
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
The “static analysis” section says that it is impossible to catch all cases where address is used which is true. However if the analysis checks for whether address is TAKEN, then it is trivial. I would like to propose that as an alternative- whenever address is taken the variable is per iteration. Otherwise per loop.
This seems the simplest and logical modification.
comment 4y ago · link · parent
The alternative can be that whenever address of iteration variable is used inside the loop the variable is per iteration and otherwise it is per loop. This way it is not breaking the old code and have new semantics.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
I wish I could be on the researchers' side, as I am both Chinese and an alum from UMN. But No - wrong is wrong.