# pad, Qpad

Enables the changing of the variable and array memory layout.

## Syntax

Linux: | -pad -nopad

macOS: | -pad -nopad

Windows: | /Qpad /Qpad-

## Arguments

None

## Default

-nopad or /Qpad- | Variable and array memory layout is performed by default methods.

## Description

This option enables the changing of the variable and array memory layout.

This option is effectively not different from the align option when applied to structures and derived types. However, the scope of pad is greater because it applies also to common blocks, derived types, sequence types, and structures.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options

## See Also

align compiler option