This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[fortran] Disable use of -malign-double
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Jan 2007 23:11:26 -0800
- Subject: [fortran] Disable use of -malign-double
The patch is self explanatory.
2007-01-31 Steven G. Kargl <kargl@gcc.gnu.org>
* options.c (gfc_post_options): Abort if -malign-double
Index: options.c
===================================================================
--- options.c (revision 121271)
+++ options.c (working copy)
@@ -294,6 +294,9 @@ gfc_post_options (const char **pfilename
if (gfc_option.flag_all_intrinsics)
gfc_option.warn_nonstd_intrinsics = 0;
+ if (TARGET_ALIGN_DOUBLE)
+ fatal_error ("-malign-double is incompatible with libgfortran");
+
return false;
}
--
Steve