Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Recursion and debug error

qmdlm
Beginner
291 Views
Hi,

I've written a small recursive subroutine that works just fine in Release configuration, but produces a 'Debug Error, Damage: after Normal Block (#52) at 0x002F1088'. Stepping though the program points to a line where I deallocate an array used in the recursive subroutine. I've got the explicit interface (the subroutine is in a module), every allocatable is deallocated, and the subroutine behaves properly in release mode. Also, clicking 'ignore' in the 'Debug Error' dialog lets me step though the program to proper completion.

Any idea what's going wrong?

Thanks.

Matt.
0 Kudos
0 Replies
Reply