12.07.2015 Views

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 Developing with LF64• The referenced variable is an assumed-shape array.• The referenced variable is an array section with vector subscript.• The referenced variable is a dummy argument corresponding to an actual argumentthat is an array section.• The referenced variable is in a masked array assignment.• The referenced variable is a derived type variable with an ultimate component that isan allocatable array.• The referenced variable has the PARAMETER attribute.• The parent string is a scalar constant.Specifying --chk u checks for undefined variables by initializing them with a bit pattern.If that bit pattern is detected in a variable on the right side of an assignment or in an expressionthat is not an actual argument, then chances are that the variable was uninitialized.Unfortunately, you can get a false diagnostic if the variable holds a value that is the same asthis bit pattern. This behavior can be turned off by not using the u argument to the --chkoption. The values used with --chk u are:One-byte integer: -117Two-byte integer: -29813Four-byte integer: -1953789045Eight-byte integer: -8391460049216894069Default real: -5.37508134e-32Double precision real: -4.696323204354320d-253Quadruple precision real: -9.0818487627532284154072898964213742q-4043Default complex: (-5.37508134e-32,-5.37508134e-32)Double precision complex: (-4.696323204354320d-253,-4.696323204354320d-253)Quadruple precision complex: (-9.0818487627532284154072898964213742q-4043, -90818487627532284154072898964213742q-4043)Character : Z’8B’Specifying --chk u does not check pointers for association status. Undefined variables arenot checked if:• Subscript checking (s) is also specified, and diagnostic message 0320-w, 0322-w, or1562-w is issued.• The variable is accessed as the target of a POINTER or is a structure variable one ofwhose structure components has the POINTER attribute.• The referenced variable has the SAVE attribute.• The referenced variable is an assumed-shape array.• The referenced variable is an array section with a vector subscript.• The referenced variable is a dummy argument corresponding to an actual argumentthat is an array section.• The referenced variable is in a masked array assignment.• The referenced variable is a derived type with an ultimate component that is an allocatablearray.22 <strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!