From 4589a8011071beb19f184e02ef3f7c19e93db288 Mon Sep 17 00:00:00 2001 From: ygribov Date: Mon, 11 Jan 2016 09:06:14 +0000 Subject: [PATCH] Fix docs for -frandom-seed. 2016-01-11 Yury Gribov PR 67425 * common.opt (frandom-seed): Fix parameter name. * doc/invoke.texi (frandom-seed): Ditto and describe parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232209 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/common.opt | 2 +- gcc/doc/invoke.texi | 10 +++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e717fc5..29e45a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-01-11 Yury Gribov + + PR 67425 + * common.opt (frandom-seed): Fix parameter name. + * doc/invoke.texi (frandom-seed): Ditto and describe parameter. + 2016-01-11 Tom de Vries PR tree-optimization/69058 diff --git a/gcc/common.opt b/gcc/common.opt index 5a2e0a5..49d347c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1909,7 +1909,7 @@ Common Var(common_deferred_options) Defer frandom-seed= Common Joined RejectNegative Var(common_deferred_options) Defer --frandom-seed= Make compile reproducible using . +-frandom-seed= Make compile reproducible using . ; This switch causes the command line that was used to create an ; object file to be recorded into the object file. The exact format diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1d1fd87..fc1dedf 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -364,7 +364,7 @@ Objective-C and Objective-C++ Dialects}. -fmem-report -fpre-ipa-mem-report -fpost-ipa-mem-report -fprofile-arcs @gol -fopt-info @gol -fopt-info-@var{options}@r{[}=@var{file}@r{]} @gol --frandom-seed=@var{number} -fsched-verbose=@var{n} @gol +-frandom-seed=@var{string} -fsched-verbose=@var{n} @gol -fsel-sched-verbose -fsel-sched-dump-cfg -fsel-sched-pipelining-verbose @gol -fstack-usage -ftest-coverage -ftime-report -fvar-tracking @gol -fvar-tracking-assignments -fvar-tracking-assignments-toggle @gol @@ -7484,7 +7484,7 @@ the first option takes effect and the subsequent options are ignored. Thus only @file{vec.miss} is produced which contains dumps from the vectorizer about missed opportunities. -@item -frandom-seed=@var{number} +@item -frandom-seed=@var{string} @opindex frandom-seed This option provides a seed that GCC uses in place of random numbers in generating certain symbol names @@ -7493,7 +7493,11 @@ place unique stamps in coverage data files and the object files that produce them. You can use the @option{-frandom-seed} option to produce reproducibly identical object files. -The @var{number} should be different for every file you compile. +The @var{string} can either be a number (decimal, octal or hex) or an +arbitrary string (in which case it's converted to a number by +computing CRC32). + +The @var{string} should be different for every file you compile. @item -fsched-verbose=@var{n} @opindex fsched-verbose -- 2.7.4