-qignprag

Description

Instructs the compiler to ignore certain pragma statements.

Syntax

Read syntax diagramSkip visual syntax diagram                  .- :------------------------.
                  V                           |
>>- -qignprag--=----+-----------------------+-+----------------><
                    +-+-+-disjoint------+-+-+
                    | | '-isolated_call-' | |
                    | '-all---------------' |
                    +-ibm-------------------+
                    '-omp-------------------'
 

where pragma statements affected by this option are:

disjoint Ignores all #pragma disjoint directives in the source file.
isolated_call Ignores all #pragma isolated_call directives in the source file.
all Ignores all #pragma isolated_call and #pragma disjoint directives in the source file.
ibm C only Ignores all #pragma ibm snapshot directives in the source file.
omp Ignores all OpenMP parallel processing directives in the source file, such as #pragma omp parallel, #pragma omp critical.

See also #pragma options.

Notes

This option is useful for detecting aliasing pragma errors. Incorrect aliasing gives runtime errors that are hard to diagnose. When a runtime error occurs, but the error disappears when you use -qignprag with the -O option, the information specified in the aliasing pragmas is likely incorrect.

Example

To compile myprogram.c and ignore any #pragma isolated_call directives, enter:

xlc myprogram.c -qignprag=isolated 

Related information