Since moving from FTN77 to FTN95 (7.10.0) many of my trusted stable applications are exhibiting odd behaviour (random crashes in %gr subsystems (draw_character@) /add_menu_item@/random freezing of app on loss of focus). As all my applications use shared sub-function i would expect the behaviour to be consistent across application which they are not. I am assuming is due to internal overwriting issues or undefined vars in the code. In an attempt to isolate these problems i recompile everything using /FULL_UNDEF which fails to highlight any problems
The help for /full_undef state it does bounds checking on arrays but it does not complain at the following code
program test integer fred(100,10) fred(1,1) = 1 fred(100,10) = 1000 call bert(fred) end
subroutine bert(x)
integer x(100)
call eric(x)
end
subroutine eric(y)
integer y(10,100)
write(*,*) 'y(1,1) = ', y(1,1)
write(*,*) 'y(100,10) = ', y(10,100)
end
Any ideas or suggestion appreciated