Lahey Support
03-31-2005, 04:24 PM
LF95 Windows:Local array not automatically deallocated on subroutine return.
<hr>
The information in this post applies to:
LF Fortran v7.x Enterprise edition
LF Fortran v7.x Professional edition
LF Fortran v7.x Express edition
LF95 PRO, Standard and Express
Symptoms
An array allocated and used locally in a subroutine is not automatically deallocated when
the subroutine returns.
Cause
Spec decision.
Fix
Add the following option to the compile command and the local array will be deallocated when the subroutine returns:
-lfe "-Nfreealloc"
Status
Open. Driver may be changed specify this option automatically.
<hr>
The information in this post applies to:
LF Fortran v7.x Enterprise edition
LF Fortran v7.x Professional edition
LF Fortran v7.x Express edition
LF95 PRO, Standard and Express
Symptoms
An array allocated and used locally in a subroutine is not automatically deallocated when
the subroutine returns.
Cause
Spec decision.
Fix
Add the following option to the compile command and the local array will be deallocated when the subroutine returns:
-lfe "-Nfreealloc"
Status
Open. Driver may be changed specify this option automatically.