XL Fortran for AIX 8.1

Language Reference


Allocation Status

The allocation status of an allocatable object is one of the following during program execution:

+-------------------------------IBM Extension--------------------------------+

In XL Fortran, this status is only available when you are using the -qxlf90=noautodealloc option. (For example, you are using the xlf90 compilation command.)

+----------------------------End of IBM Extension----------------------------+

If the allocation status of an allocatable object is currently allocated, the object may be referenced and defined. An allocatable object that is not currently allocated must not be referenced or defined. If the allocation status of an allocatable object is undefined, the object must not be referenced, defined, allocated, or deallocated.

When the allocation status of an allocatable object changes, the allocation status of any associated allocatable object changes accordingly.

+-------------------------------IBM Extension--------------------------------+

In XL Fortran, the allocation status of such an object remains currently allocated.

+----------------------------End of IBM Extension----------------------------+

+---------------------------------Fortran 95---------------------------------+

In Fortran 95, the allocation status of an allocatable object that is declared in the scope of a module is processor dependent if it does not have the SAVE attribute and was currently allocated when execution of a RETURN or END statement resulted in no executing scoping units referencing the module.

+-----------------------------End of Fortran 95------------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]