ignprag

Option Type Default Value #pragma options C C++
-qoption - IGNPRAG=suboption x x

Syntax

    -qignprag=suboption
    IGNPRAG=suboption

Purpose
Instructs the compiler to ignore the disjoint and/or isolated_call pragmas.

Notes

Suboptions 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 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.

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 directives, enter:

xlC myprogram.c -qignprag=isolated


List of Batch Compiler Options and Their Defaults
Options that Specify Debugging Features
#pragma disjoint Preprocessor Directive
#pragma isolated_call Preprocessor Directive
#pragma Preprocessor Directives for Parallel Processing
Equivalent Batch Compile-Link and Incremental Build Options