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.

Local variables to be saved/static

jayb
Beginner
326 Views

I am porting a legacy application to Intel Fortran.  On g77, it required the -no-automatic switch so that local variables would be saved/static, i.e., the values retained between invocations, rather than recursive.  I did some research and found the -save switch; I want to verify that this is what I need.

JayB

0 Kudos
1 Reply
Steven_L_Intel1
Employee
326 Views

Yes, that's correct.

0 Kudos
Reply