This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran] Disable use of -malign-double
- From: Ignacio Fernández Galván <jellby at yahoo dot com>
- To: Erik Schnetter <schnetter at cct dot lsu dot edu>, Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Jerry DeLisle <jvdelisle at verizon dot net>, Andrew Pinski <pinskia at physics dot uc dot edu>, Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Feb 2007 16:34:19 +0000 (GMT)
- Subject: Re: [fortran] Disable use of -malign-double
Hi all,
Let me just step in to this discussion, not replying to any post in
particular. From a plain user point of view, we sometimes get source
code with a Makefile and compile it. We trust the configuration scripts
and the "default" options provided, and we not always read thoroughly
*all* documentation of *all* flags that may have been set in tons of
different configuration files. I'm not saying that the compiler should
always do the "right thing", but sometimes it's not that users don't
want to read the documentantion, it's just that we don't expect to be
required to do so.
That said, why not issue a warning when -malign-double is used, just as
the warnings issued when an option does not exist or is not applicable
to the current architecture? That way, the user can know that a
potentially problematic flag is being used, and if someone really wants
to use it, they could maybe deactivate the warning with
-Wno-malign-double or something similar. Does this make sense?
Ignacio
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html