On 9/9/19 1:08 PM, Jakub Jelinek wrote: > On Mon, Sep 09, 2019 at 01:02:32PM +0200, Martin Liška wrote: >> On 9/6/19 4:56 PM, Jakub Jelinek wrote: >>> On Fri, Sep 06, 2019 at 10:48:53AM -0400, Marek Polacek wrote: >>>> On Fri, Sep 06, 2019 at 08:58:48AM +0200, Martin Liška wrote: >>>>> Ok, hopefully nobody is strongly against. I've just retested the >>>>> patch and installed it as r275450. >>>> >>>> --- a/gcc/c-family/c.opt >>>> +++ b/gcc/c-family/c.opt >>>> @@ -1763,8 +1763,8 @@ ObjC ObjC++ LTO Var(flag_replace_objc_classes) >>>> Used in Fix-and-Continue mode to indicate that object files may be >>>> swapped in at runtime. >>>> >>>> frepo >>>> -C++ ObjC++ >>>> -Enable automatic template instantiation. >>>> +C++ ObjC++ Deprecated >>>> +Deprecated in GCC 10. This switch has no effect. >>> >>> The Deprecated keyword is just misnamed, I believe it does the same thing as >>> Ignore, except that it also prints a warning that the switch is no longer >>> supported, so kind like Ignore Warn(switch %<-frepo%> is no longer >>> supported). >>> The description should be just This switch has no effect. or >>> Does nothing. Preserved for backward compatibility. >> >> I verified the description and it's fine to me: >> >> frepo >> C++ ObjC++ Deprecated >> Deprecated in GCC 10. This switch has no effect. > > This first part looks wrong to me. > "deprecated > (computing) Obsolescent; said of a construct in a computing language > considered old, > and planned to be phased out, but still available for use."
You are right. What about the suggested patch? Martin > That is not the case here in GCC 10, the feature has been removed, it has > been deprecated in GCC 9.N for N >= 2 only. > > Jakub >
>From ece8a83bdf6c2504bfe57dd033f6876cf2ffb9a2 Mon Sep 17 00:00:00 2001 From: Martin Liska <mli...@suse.cz> Date: Mon, 9 Sep 2019 13:22:51 +0200 Subject: [PATCH] Update comment of removed options. gcc/ChangeLog: 2019-09-09 Martin Liska <mli...@suse.cz> * config/i386/i386.opt: Update comment of removed options that are preserved only for backward compatibility. gcc/c-family/ChangeLog: 2019-09-09 Martin Liska <mli...@suse.cz> * c.opt: Update comment of removed options that are preserved only for backward compatibility. --- gcc/c-family/c.opt | 46 ++++++++++++++++++++-------------------- gcc/config/i386/i386.opt | 4 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index ec546663029..c5804470d47 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -429,7 +429,7 @@ Warn about subscripts whose type is \"char\". Wchkp C ObjC C++ ObjC++ Warning Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. Wclobbered C ObjC C++ ObjC++ Var(warn_clobbered) Warning EnabledBy(Wextra) @@ -1338,90 +1338,90 @@ and character literals. fcheck-pointer-bounds C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-check-incomplete-type C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-zero-input-bounds-for-main C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-first-field-has-own-bounds C ObjC C++ ObjC++ LTO Deprecated RejectNegative -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-narrow-bounds C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-narrow-to-innermost-array C ObjC C++ ObjC++ LTO Deprecated RejectNegative -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-flexible-struct-trailing-arrays C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-optimize C ObjC C++ ObjC++ LTO Deprecated fchkp-use-fast-string-functions C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-use-nochk-string-functions C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-use-static-bounds C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-use-static-const-bounds C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-treat-zero-dynamic-size-as-infinite C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-check-read C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-check-write C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-store-bounds C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-instrument-calls C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-instrument-marked-only C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fchkp-use-wrappers C ObjC C++ ObjC++ LTO Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. static-libmpx Driver Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. static-libmpxwrappers Driver Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. fcilkplus C ObjC C++ ObjC++ LTO Undocumented Ignore -Deprecated in GCC 8. This switch has no effect. +Removed in GCC 8. This switch has no effect. fconcepts C++ ObjC++ Var(flag_concepts) @@ -1764,7 +1764,7 @@ Used in Fix-and-Continue mode to indicate that object files may be swapped in at frepo C++ ObjC++ Deprecated -Deprecated in GCC 10. This switch has no effect. +Removed in GCC 10. This switch has no effect. frtti C++ ObjC++ Optimization Var(flag_rtti) Init(1) diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 599e799ea5e..5d47212ae72 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -968,7 +968,7 @@ Support RTM built-in functions and code generation. mmpx Target Deprecated -Deprecated in GCC 9. This switch has no effect. +Removed in GCC 9. This switch has no effect. mmwaitx Target Report Mask(ISA_MWAITX) Var(ix86_isa_flags2) Save @@ -1113,4 +1113,4 @@ AVX512BF16 built-in functions and code generation. menqcmd Target Report Mask(ISA_ENQCMD) Var(ix86_isa_flags2) Save -Support ENQCMD built-in functions and code generation. \ No newline at end of file +Support ENQCMD built-in functions and code generation. -- 2.23.0