pTAL Reference Manual (H06.08+)

Compiler Directives
HP pTAL Reference Manual523746-006
17-16
Summary of Compiler Directives
Object-file
content
ASSERTION Conditionally executes a debugging procedure
BLOCKGLOBALS
Determines how the compiler allocates global
data that is not declared within the scope of a
named data block or the private data block
CALL_SHARED
3
Generates shared code (PIC)
CHECKSHIFTCOUNT
Causes overflow traps for invalid bit-shift
operations
CODECOV
Generates instrumented object code for use
by the Code Coverage Tool
EXPORT_GLOBALS
Exports globals
FIELDALIGN
Specifies the default memory alignment for
structures
GLOBALIZED Generates preemptable object code for use
when building DLLs that require such code
GP_OK
1
Generates code that has GP-relative
addressing
OPTIMIZE
Sets the object codes default optimization
level
OPTIMIZEFILE
Sets the optimization level for individual
procedures and subprocedures
OVERFLOW_TRAPS
3
Controls whether overflow traps are enabled
REFALIGNED
Specifies the default memory alignment for
pointers to nonstructure items and procedure
reference pointers
ROUND
Rounds FIXED values assigned to FIXED
variables with smaller fpoint values
SRL
1
Generates code that can be included in a user
library
SYNTAX
Checks the syntax, suppressing the object
code
Table 17-1. Compiler Directives by Category (page 3 of 4)
Category Directive Operation
1. The EpTAL compiler ignores this directive.
2. The EpTAL compiler does not accept this directive.
3. The pTAL and EpTAL compilers treat this directive differently.