Tells the compiler to analyze and reorder memory layout for variables and arrays.
None
IA-32, Intel® EM64T
Linux and Mac OS: | -align |
-noalign | |
Windows: | None |
None
OFF | Variables and arrays are analyzed and reordered according to the gcc model. |
This option tells the compiler to analyze and reorder memory layout for variables and arrays. It sets the alignment for objects of type long long, double, and long double to values more suited to best performance.
If you are not interacting with system libraries or other libraries that are compiled without -align, this option can improve performance by reducing misaligned accesses.
None