From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74641 invoked by alias); 9 Sep 2019 11:35:08 -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 74622 invoked by uid 89); 9 Sep 2019 11:35:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-wr1-f68.google.com Received: from mail-wr1-f68.google.com (HELO mail-wr1-f68.google.com) (209.85.221.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Sep 2019 11:35:06 +0000 Received: by mail-wr1-f68.google.com with SMTP id d17so685409wrq.13; Mon, 09 Sep 2019 04:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6RcBujKcJtp8KCF/bg2HPY6aNjG0ZrnBQFlLw+7mARo=; b=W1DGcQkwZbnVzIq1sNiz7ftssJAKCs5lTOVMlbjEvjaOgNwPDeLt8GqABVkdtU3g1x pTD+qJAJ9O9x7D1Nveg+hgb+Kjh+395V8wMxwPMeaQs5RINBr4QKsAz92ccsq4zr3sfM xLzu/GMbLlJvBszyZtpJu2SFsdNpS1R3rAg6dUAjOxrx0/yXNHZkoejK13of0ebP2qD+ Lon7+cV9pGZoqwyJ1piSb2cIjjNtb7sFFM7emK264zRj2rPjP88WW0ZeGCzdJ+aCUV86 zoUmDQsxdN8NAYEpY4R86yKPtfmqzGt8nFGRU7lp02NYdzFNSBi8NDoLNzi10/HEjPZI /Ljg== MIME-Version: 1.0 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> <6cd9a43d-2241-3314-7f14-3f6bcab1ad73@suse.cz> In-Reply-To: <6cd9a43d-2241-3314-7f14-3f6bcab1ad73@suse.cz> From: Jonathan Wakely Date: Mon, 09 Sep 2019 11:35:00 -0000 Message-ID: Subject: Re: [PATCH] Update comment of removed options. To: =?UTF-8?Q?Martin_Li=C5=A1ka?= Cc: Jakub Jelinek , Marek Polacek , Richard Biener , Nathan Sidwell , Iain Sandoe , "gcc@gcc.gnu.org" , David Edelsohn , Jan Hubicka , GCC Patches , Jason Merrill Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-09/txt/msg00498.txt.bz2 On Mon, 9 Sep 2019 at 12:24, Martin Li=C5=A1ka wrote: > > On 9/9/19 1:08 PM, Jakub Jelinek wrote: > > On Mon, Sep 09, 2019 at 01:02:32PM +0200, Martin Li=C5=A1ka 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=C5=A1ka 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 t= hing as > >>> Ignore, except that it also prints a warning that the switch is no lo= nger > >>> supported, so kind like Ignore Warn(switch %<-frepo%> is no longer su= pported). > >>> 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 co= nsidered old, > > and planned to be phased out, but still available for use." I agree with this definition. If it's deprecated it still needs to be available for use.