On Fri, Sep 11, 2020 at 11:56 PM Sergei Trofimovich via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > From: Sergei Trofimovich <siarh...@google.com> > > Before the change option handling did not accept an argument: > xgcc: error: unknown profile reproducibility method '=serial' > xgcc: note: valid arguments to '-fprofile-reproducible' are: multithreaded > parallel-runs serial; did you mean 'serial'? > > The change also includes trailing '=' as part of option prefix.
Does it still work without an option then? OK if so. > gcc/ChangeLog: > > * common.opt: Fix handling of '-fprofile-reproducible' option. > --- > gcc/common.opt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/common.opt b/gcc/common.opt > index dd68c61ae1d..84bf521128d 100644 > --- a/gcc/common.opt > +++ b/gcc/common.opt > @@ -2228,7 +2228,7 @@ Enum(profile_reproducibility) String(parallel-runs) > Value(PROFILE_REPRODUCIBILIT > EnumValue > Enum(profile_reproducibility) String(multithreaded) > Value(PROFILE_REPRODUCIBILITY_MULTITHREADED) > > -fprofile-reproducible > +fprofile-reproducible= > Common Joined RejectNegative Var(flag_profile_reproducible) > Enum(profile_reproducibility) Init(PROFILE_REPRODUCIBILITY_SERIAL) > -fprofile-reproducible=[serial|parallel-runs|multithreaded] Control level > of reproducibility of profile gathered by -fprofile-generate. > > -- > 2.28.0 >