From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41932 invoked by alias); 9 Sep 2019 11:25:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 41911 invoked by uid 89); 9 Sep 2019 11:24:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=Save X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Sep 2019 11:24:56 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CD46CAC18; Mon, 9 Sep 2019 11:24:53 +0000 (UTC) Subject: [PATCH] Update comment of removed options. To: Jakub Jelinek Cc: Marek Polacek , Richard Biener , Jonathan Wakely , Nathan Sidwell , Iain Sandoe , "gcc@gcc.gnu.org" , David Edelsohn , Jan Hubicka , GCC Patches , Jason Merrill References: <6df2c495-c922-e6b6-abf7-ef3879ed9fda@suse.cz> <3d69fc9b-6a25-5a7c-1574-599b253a4c64@suse.cz> <20190906144853.GD14737@redhat.com> <20190906145640.GI2120@tucnak> <20190909110819.GQ2120@tucnak> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <6cd9a43d-2241-3314-7f14-3f6bcab1ad73@suse.cz> Date: Mon, 09 Sep 2019 11:25:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190909110819.GQ2120@tucnak> Content-Type: multipart/mixed; boundary="------------77D225228E14DAB60CB949C0" X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00496.txt.bz2 This is a multi-part message in MIME format. --------------77D225228E14DAB60CB949C0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-length: 1705 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 > --------------77D225228E14DAB60CB949C0 Content-Type: text/x-patch; name="0001-Update-comment-of-removed-options.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Update-comment-of-removed-options.patch" Content-length: 5654 >From ece8a83bdf6c2504bfe57dd033f6876cf2ffb9a2 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 9 Sep 2019 13:22:51 +0200 Subject: [PATCH] Update comment of removed options. gcc/ChangeLog: 2019-09-09 Martin Liska * 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 * 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 --------------77D225228E14DAB60CB949C0--