FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


EQUIVALENCE CHECK TO ...

Syntax:

EQUIVALENCE CHECK TO CHECK DEFAULT SIZES

EQUIVALENCE CHECK TO IGNORE DEFAULT SIZES

Function:

The command CHECK EQUIVALENCE reports objects of different data type or data size which occupy the same memory locations. The command EQUIVALENCE CHECK TO CHECK or TO IGNORE DEFAULT SIZES determines whether the report should include objects which are of the same data type and data size, but differ in that the size has been specified explicitly in one sub-program and has been left to the system defaults in another.

The command IGNORE DEFAULT SIZES directs FPT to ignore this issue in all contexts.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

Yes


Example:

In an FSP file:

% equivalence check to ignore default sizes

% check equivalence

See also:

CHECK EQUIVALENCE

IGNORE DEFAULT SIZES


Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.