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

recursive subroutines with intel 10.1.030

arildh
Beginner
934 Views
I have previously compiled programs using the intel visual fortran 10.1.021 compiler. When upgrading to the 10.1.030 compiler, I discovered a different behaviour when compiling recursive subroutines while using the "Qsave" option. The compiler documentation for both versions claims that "This option saves all variables in static allocation except local variables within a recursive routine and variables declared as AUTOMATIC.".

However, my experience is that the Qsave option using 10.1.030 also saves local variables in recursive subroutines.

Is this an intended feature? Does anyone have experience with this?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
934 Views

That's a bug that was fixed in a later update. The current version is 11.1.051.
0 Kudos
Reply