This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bugs with -malign-double


Soohaeng Yoo wrote:
I report the possible bugs with the compiler option of '-malign-double'.
"man gcc" shows for -malign-double:

"Warning: if you use the -malign-double switch, structures containing the above types will be aligned differently than the published application binary interface specifications for the 386 and will not be binary compatible with structures in code compiled without that switch."

You need to recompile the libgfortran library if you want to use the -malign-double option. (Or analogously for -mno-align-double on systems such as x86-64 where -malign-double is enabled by default.)

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]