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: Reproducible gcc builds, gfortran, and -grecord-gcc-switches


On Tue, 21 Aug 2012, Simon Baldwin wrote:

> Index: gcc/doc/options.texi
> ===================================================================
> --- gcc/doc/options.texi	(revision 190535)
> +++ gcc/doc/options.texi	(working copy)
> @@ -468,4 +468,8 @@ of @option{-@var{opt}}, if not explicitl
>  specify several different languages.  Each @var{language} must have
>  been declared by an earlier @code{Language} record.  @xref{Option file
>  format}.
> +
> +@item NoDWARFRecord
> +The option is added to the list of those omitted from the producer string
> +written by @option{-grecord-gcc-switches}.

Remove "added to the list of those" (which seems unnecessarily verbose).

> +@item @samp{nodwarfrecord}
> +Display only those options that are marked for addition to the list of
> +options omitted from @option{-grecord-gcc-switches}.

I don't think there's any need for special --help support for options with 
this flag; this flag is really an implementation detail.  (Thus, I think 
all the opts.c changes are unnecessary.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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