This option specifies the unaligned pointer support required for an application.
Treats accesses through pointers as having an alignment of one, that is, byte-aligned or unaligned.
Treats accesses through pointers as having an alignment of at most two, that is, at most halfword aligned.
Treats accesses through pointers as having an alignment of at most four, that is, at most word aligned.
Accesses through pointers have normal alignment, that is, at most doubleword aligned.
unspecified, the compiler faults use of
De-aligning pointers might increase the code size, even on CPUs with unaligned access support. This is because only a subset of the load and store instructions benefit from unaligned access support. The compiler is unable to use multiple-word transfers or coprocessor-memory transfers, including hardware floating-point loads and stores, directly on unaligned memory objects.
Code size might increase significantly when compiling for CPUs without hardware support for unaligned access, for example, pre-v6 architectures.
This option does not affect the placement of objects in memory, nor the layout and padding of structures.