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.

Re: variables default to automatic

Steven_L_Intel1
Employee
415 Views
It's variables that would otherwise have static allocations, which doesn't include ALLOCATABLE, but could include local arrays. Stack allocation will tend to mean that variables are uninitialized, which means.. they are uninitialized. Chances are they will contain "junk", but that junk could be zeroes... It is a good debugging technique, though, and if you're using CVF, specifying this option makes it easier for the compiler to find uninitialized variables at compile time.

Steve
0 Kudos
0 Replies
Reply