Instructs the compiler to ignore certain pragma statements.
.- :------------------------. 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 |
![]() |
omp | Ignores all OpenMP parallel processing directives in the source file, such as #pragma omp parallel, #pragma omp critical. |
See also #pragma options.
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.
To compile myprogram.c and ignore any #pragma isolated_call directives, enter:
xlc myprogram.c -qignprag=isolated
Related information