pTAL Reference Manual (H06.03+)

Compiler Directives
HP pTAL Reference Manual523746-005
17-44
OPTIMIZE
Each identifier map includes:
OPTIMIZE
level
Item Possible Values
Identifier class
VAR
SUBPROC
ENTRY
LABEL
DEFINE
LITERAL
Type
Data type
Structure
Substructure
Structure pointer
Addressing mode
Direct
Indirect
Subprocedure, entry, or label offset
Text of LITERALs and DEFINEs
Level Effect
0 Code is not optimized. Provided in case other optimization levels cause
errors or interfere with debugging. Supports symbolic debugging; data is
always in memory.
1 Code is optimized within statements and across statement boundaries. The
resulting code is more efficient than that produced by lower levels of
optimization and does not interfere with debugging.
2 Code is optimized within statements and across statement boundaries, and
the resulting code is more efficient than code produced by lower levels.
Note. If your program compiles successfully at level 0 but runs out of memory at level 1 or
2, either compile your program only at level 0 or split your program into smaller
subprograms and compile those at the same higher level.
=
OPTIMIZE
VST665.vsd
level