This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran] Disable use of -malign-double
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Jan 2007 23:17:23 -0800
- Subject: Re: [fortran] Disable use of -malign-double
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from; b=jnvl0OzESl051rNOjbrz+UBVaUa4QLYVMrFyjXCqPE1/E03tGCrC5JkEbO48Kojzd3aW2NVdKvpYmyCn2V2P4I1v2Jh5i7IcVpWhBxl4H0t0vCjKQeL4tuTSv4UL0eSaKL/NAkaE+h6oqQ7lFuHoweamrWLISEXFXC7fw0rIeiA=
- References: <20070131071126.GA12850@troutmask.apl.washington.edu>
On Tue, 2007-01-30 at 23:11 -0800, Steve Kargl wrote:
> 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");
This will not work. As TARGET_ALIGN_DOUBLE is only defined for the x86
backend. Also it could default for some x86 targets.
-- Pinski