-qignprag

Category

Language element control

Pragma equivalent

#pragma options [no]ignprag

Purpose

Instructs the compiler to ignore certain pragma statements.

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 ignprag with the -O option, the information specified in the aliasing pragmas is likely incorrect.

Syntax

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

Defaults

Not applicable.

Parameters

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

Predefined macros

None.

Examples

To compile myprogram.c and ignore any #pragma isolated_call directives, enter:
xlc myprogram.c -qignprag=isolated_call

Related information