Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Statements and Intrinsic Procedures for Memory Allocation and Deallocation

The following table lists statements and intrinsic procedures that are used for memory allocation and deallocation.

Name

Procedure Type

Description

ALLOCATE

Statement

Dynamically establishes allocatable array dimensions.

ALLOCATED

Intrinsic Function

Determines whether an allocatable array is allocated.

DEALLOCATE

Statement

Frees the storage space previously reserved in an ALLOCATE statement.

FREE

Intrinsic Subroutine

Frees the memory block specified by the integer pointer argument.

MALLOC

Intrinsic Function

Allocates a memory block of size bytes and returns an integer pointer to the block.

MOVE_ALLOC

Intrinsic Subroutine

Moves an allocation from one allocatable object to another.