GlobalVariableAnalysis
not working for global variables only used in the routine.spec
e.g., as array dimension
#244
Labels
Problem with
GlobalVariableAnalysis
as global variables only used in theroutine.spec
e.g., as array dimension are not captured inuses_symbols
. Reason being:transform_subroutine
only accounts forroutine.body.uses_symbols
(androutine.body.defines_symbols
), disregarding theroutine.spec
dataflow_analysis_attached(routine)
wouldn't include variables inVariableDeclaration
s inuses_symbols
Because of (2), this could also result in unwanted behaviour beyond
GlobalVariableAnalysis
.The text was updated successfully, but these errors were encountered: