fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

EQUIVALENCE CHECK TO CHECK DEFAULT SIZES

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

Examples

In an FSP file:

% equivalence check to ignore default sizes % check equivalence

See Also

CHECK EQUIVALENCE

IGNORE DEFAULT SIZES

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