diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e717fc5e013..29e45a62e42 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 5a2e0a557e3..49d347ca42c 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 1d1fd875f71..fc1dedf0dc3 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