FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


PAD COMMON BLOCKS

Syntax:

[DO NOT] PAD COMMON BLOCKS

[DO NOT] PAD COMMONS

Function:

Code is generated to insert new variable declarations in COMMON blocks so as to force variables within the COMMON blocks to aligned addresses.

The command ALIGN OBJECTS IN COMMON BLOCKS instructs FPT to compute COMMON block addresses with the requirement that they are aligned, but does not change the code. Both ALIGN OBJECTS IN COMMON BLOCKS and PAD COMMON BLOCKS must be specified if padding variables are to be inserted

The command COMMON ALIGNMENT GRANULARITY specifies the unit of alignment for COMMON blocks. Logical, integer and real objects are aligned to the COMMON alignment granularity or to their data size, whichever is the smaller. Complex objects are aligned with the alignment rules for the real data specification with he same precision. Character objects are not aligned.

No change is made in the alignment of objects where EQUIVALENCE relations would be affected by the change in address.

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


Default:

No change is made by default. (Note that defaults may be changed in the configuration file).

See also:

ALIGN OBJECTS IN COMMON BLOCKS

COMMON ALIGNMENT GRANULARITY


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