-qxlf2008

Category

Language element control

Purpose

Provides the ability to use language features specific to the Fortran 2008 standard when compiling with compiler invocations that conform to earlier Fortran standards, as well as the ability to disable these features when compiling with compiler invocations that conform to the Fortran 2008 standard.

Syntax

Read syntax diagramSkip visual syntax diagram
Option:

                    .-checkpresence---.   
>>- -q--xlf2008--=--+-nocheckpresence-+------------------------><

@PROCESS:

@PROCESS XLF2008(suboption,suboption,...)

Defaults

The default suboption depends on the invocation command that you specify.

The f2008, xlf2008, and xlf2008_r commands have the following default:

checkpresence

All other invocation commands have the following default:

nocheckpresence

Parameters

checkpresence | nocheckpresence
When checkpresence is in effect, dummy argument presence is checked according to the Fortran 2008 standard. When nocheckpresence is in effect, dummy argument presence is checked according to previous Fortran standards. For more information about dummy argument presence, see Restrictions on optional dummy arguments not present.
Note: When -qxlf2008=checkpresence is in effect, the performance of your program is inhibited because of runtime checks for the allocation and association status of actual arguments. To avoid these performance impacts, consider using -qxlf2008=nocheckpresence.