This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [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


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