Fortran User's Guide

-misalign

Allow misaligned data.

    SPARC:77

The -misalign option permits misaligned data in memory that would otherwise produce an error. Particular uses of COMMON and EQUIVALENCE statements may cause data to be misaligned (with a compiler diagnostic). With -misalign, the compiler will allow intentional misalignment and will not add padding in COMMON blocks to insure proper data alignment. However, this seriously degrades performance; recoding to eliminate the cause of data misalignment is a better alternative.

If used, all routines in a program must be compiled with this option. If you compile and link in separate steps, compiling with the -misalign option requires the option on the link step as well.