This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: driver/26885: [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 23 Apr 2006 00:44:29 +0000 (UTC)
- Subject: Re: PATCH: driver/26885: [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object
- References: <20060422230847.GA24692@lucon.org>
On Sat, 22 Apr 2006, H. J. Lu wrote:
> The gcc driver has a generic problem that is if an option is canceled
> by another one, gcc stills passes everything down to other programs.
> When the order of all options are passed down unmodified, it isn't
> a problem. But sometimes spec processing gets into our way, in which
> case, the order of options processed by spec is diffeerent from the
> command line. This patch implements Negative(XXX) to cancel -XXX in
> the gcc driver, as suggested in PR 26885.
You need to update options.texi to explain the specification of what
Negative means in a .opt file. If the way you seem to be chaining -g
options in common.opt is intended to mean that each such option overrides
any of the others, that needs to be explained in the documentation.
--
Joseph S. Myers
joseph@codesourcery.com