From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29608 invoked by alias); 9 Sep 2019 11:02:36 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29590 invoked by uid 89); 9 Sep 2019 11:02:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=r275450, frepo, deprecated, UD:c.opt 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:02:35 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 01622AD44; Mon, 9 Sep 2019 11:02:32 +0000 (UTC) Subject: Re: [PATCH] Deprecate -frepo option. To: Jakub Jelinek , Marek Polacek Cc: Richard Biener , Jonathan Wakely , Nathan Sidwell , Iain Sandoe , "gcc@gcc.gnu.org" , David Edelsohn , Jan Hubicka , GCC Patches , Jason Merrill References: <82e53760-fae7-29a6-70b1-f601bac28bdc@suse.cz> <6df2c495-c922-e6b6-abf7-ef3879ed9fda@suse.cz> <3d69fc9b-6a25-5a7c-1574-599b253a4c64@suse.cz> <20190906144853.GD14737@redhat.com> <20190906145640.GI2120@tucnak> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: Date: Mon, 09 Sep 2019 11:02: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: <20190906145640.GI2120@tucnak> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00056.txt.bz2 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. > > Jakub >