Hi
Occasionally i get the 'Active Do loop index altered' message when i'm debugging. Needless to say that the line of code is doing no such thing (i.e. an output statement) .
It only seem to appear when only some of the code is complied in debug mode i.e.
ftn95 test1.for /debug ftn95 big_code.for ftn95 reliable_code.for /debug slink test1,big_code,reliable_code
The calling sequence is of the form Test1->big_code-> reliable_code
If this routine was in reliable_code.for
subroutine got_here(cbuff) character*() cbuff write(,*,err=99) cbuff 99 continue end
it would fail with 'Active DO loop index altered' on the write statement
I haven't been able to reproduce the effect with a small example. Compiling without the debug option and the code works as expected
I understand that it maybe hard to track down without a reproducible example but an awareness of the issue maybe helpful to you
steve