assert

Option Type Default Value #pragma options C C++
-qoption noassert - x  

Syntax

    -qassert=suboption 

Purpose
Requests the compiler to apply aliasing assertions to your compilation unit. The compiler will take advantage of the aliasing assertions to improve optimizations where possible.

Notes
This option is obsolete. Use -qalias= in your new applications.

The compiler will apply aliasing assertions when you specify the following suboptions:

-qASSert=TYPeptr Pointers to different types are never aliased. In other words, in the compilation unit no two pointers of different types will point to the same storage location.
-qASSert=ALLPtrs Pointers are never aliased (this implies -qassert=typeptr). Therefore, in the compilation unit, no two pointers will point to the same storage location.
-qASSert=ADDRtaken Variables are disjoint from pointers unless their address is taken. Any class of variable for which an address has not been recorded in the compilation unit will be considered disjoint from indirect access through pointers.


List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Characteristics
Equivalent Batch Compile-Link and Incremental Build Options