Uninitialized variables

Hello,

is there any flag for the pgf90 compiler that ensures that in the case of uninitialized varibales the variable is initialized with 0 instead with anything?

Cheers,
Andreas

Hi Andreas,

“-Msave” applies the SAVE attribute to all local varaibles and has the side effect of intializing the variables to zero. However, this approach can cause some performance slow-downs.

-Mat