-qignprag

Description

Instructs the compiler to ignore certain pragma statements.

Syntax

Read syntax diagramSkip visual syntax diagram>>- -qignprag--=--+-disjoint-+---------------------------------><
                  +-isolated-+
                  +-all------+
                  +-ibm------+
                  '-omp------'

where pragma statements affected by this option are:

disjoint Ignores all #pragma disjoint directives in the source file.
isolated 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 IBM parallel processing directives in the source file, such as #pragma ibm parallel_loop, #pragma ibm schedule.
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