HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
PTRS_TO_GLOBALS Pragma
#pragma [NO]PTRS_TO_GLOBALS name
This pragma aids alias analysis. It must be specified at global scope and immediately
precede the declaration of the variable or entry named. The pragma tells the optimizer
whether the global variable or entry name is accessed [is not accessed] through pointers.
If NOPTRS_TO_GOBALS is specified, it is assumed that statically-allocated data (including
file-scoped globals, file scoped statics, and function-scoped static variables) will not be
read or written through pointers. The default is PTRS_TO_GLOBALS.
PUSH Pragma
#pragma PUSH pragma_name
This pragma will save the current state on the pragma stack for the named pragma. All
subsequent uses of the named binding pragma will be reverted when the “POP” is
encountered. Note that this pragma can only be used with the blanket binding pragmas.
RARELY_CALLED Pragma
#pragma RARELY_CALLED [symbol{,symbol}]
This file-scoped pragma identifies functions that are rarely called within the application.
The pragma must be placed prior to any definition of or reference to the named function.
If not, the behavior is undefined. RARELY_CALLED is independent of +Oprofile=use
option. It overrides any dynamically obtained profile information.
STDC CX_LIMITED_RANGE Pragma
#pragma STDC CX_LIMITED_RANGE ON
#pragma STDC CX_LIMITED_RANGE OFF
This pragma enables limited range mathematical behavior for specific blocks of code.
Note that, this pragma applies to complex arithmetic only. Also see the ISO/IEC 9899
Standard.
This pragma can occur outside an external declaration or within a compound statement.
When outside external declarations, the pragma takes effect from its occurrence until
another STDC CX_LIMITED_RANGE pragma is encountered or until the end of the
translation unit. When within a compound statement, the pragma takes effect from its
occurrence until another STDC CX_LIMITED_RANGE pragma is encountered within a
nested compound statement, or until the end of the compound statement.
If this pragma is used in any other context, the behavior is undefined. The default state
is off.
STDC FLOAT_CONST_DECIMAL64 Pragma
#pragma STDC FLOAT_CONST_DECIMAL64 [ON | OFF | DEFAULT]
132 Pragma Directives and Attributes