Lahey/Fujitsu Fortran

-[N]DAL

Deallocate Allocatables

Compile only. Default: -dal

Specify -dal to deallocate allocated arrays that do not appear in DEALLOCATE or SAVE statements when a RETURN, STOP, or END statement is encountered in the program unit containing the allocatable array. Note that -ndal will suppress automatic deallocation for Fortran 95 files (automatic deallocation is standard behavior in Fortran 95).

Visual Studio Property

The -dal option corresponds to the Fortran|Behavior|Deallocate Locals property. This property can be set on the property page for the project or source file.

See Also

Setting Build Options