NAG detects potential bug in tests in ./shared
Closed this issue · 1 comments
tclune commented
These should be investigated - SAVE can be dangerous in recursion ...
Questionable: /Users/tclune/swdev/GEOS-ESM/MAPL3/nag-7.1.37/shared/tests//Users/tclune/swdev/GEOS-ESM/MAPL3/shared/tests/test_MAPL_DateTime_Parsing.pf, line 65: DO index variable I in RECURSIVE subprogram TEST_IS_DIGIT has the SAVE attribute
Questionable: /Users/tclune/swdev/GEOS-ESM/MAPL3/nag-7.1.37/shared/tests//Users/tclune/swdev/GEOS-ESM/MAPL3/shared/tests/test_MAPL_DateTime_Parsing.pf, line 69: DO index variable I in RECURSIVE subprogram TEST_IS_DIGIT has the SAVE attribute
Questionable: /Users/tclune/swdev/GEOS-ESM/MAPL3/nag-7.1.37/shared/tests//Users/tclune/swdev/GEOS-ESM/MAPL3/shared/tests/test_MAPL_DateTime_Parsing.pf, line 246: DO index variable I in RECURSIVE subprogram TEST_GET_MONTH_ENDS has the SAVE attribute
tclune commented
I will fix this in my cleanup.