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.
29280 Discussions

Compile-time Check for Uninitialized Variables

bgeneto
Beginner
785 Views

How can I enable compile-time check for uninitialized variables with ifort 9.1.034? I think there were such an option in the past.

Thanks,

Bernhard.

0 Kudos
2 Replies
Steven_L_Intel1
Employee
785 Views
Intel Fortran has not had such a feature, CVF did.(Intel Fortran does some run-time uninitialied variable checking.) In our next major release, there is planned to be a new product feature where you can request a lot of compile-time checking on a multifile basis, including uninitialized variables.
0 Kudos
jimdempseyatthecove
Honored Contributor III
785 Views

Until the next version comes out you might do a web search for a LINT program that handles F90 files. There has been one for C for decades I am sure there is a free LINT for Fortran files as well.

Jim

0 Kudos
Reply