Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Automatic deallocation of arrays on leaving a subroutine

ferrad01
Beginner
491 Views
Has the meaning of /QSave changed between 8.1 and 11.1? - with regard to automatic deallocation of allocatable arrays when leaving a subroutine.

It seems it does not deallocate them in 11.1 but it did in 8.1.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
491 Views
I think so, yes. /Qsave marks all local variables SAVE - even allocatable. I have asked for a separate option that would remove allocatables from this.
0 Kudos
Reply