[PATCH] Deprecate -frepo option.

Martin Liška mliska@suse.cz
Thu Sep 5 10:03:00 GMT 2019


On 9/5/19 12:01 PM, Richard Biener wrote:
> On Wed, Sep 4, 2019 at 2:57 PM Nathan Sidwell <nathan@acm.org> wrote:
>>
>> On 9/4/19 7:20 AM, Martin Liška wrote:
>>> On 9/4/19 11:22 AM, Jonathan Wakely wrote:
>>
>>
>>>> The point of the warning was to see if users complain. Three weeks
>>>> isn't a very long time to see if users are going to complain :-)
>>>>
>>>
>>> I see :) That said, I'm going to install the patch close to the end
>>> of stage1.
>>
>> I think it'd be ok to install it during stage3 (perhaps early feb?).
>> More chance of people speaking up.
> 
> I just checked and trunk doesn't spit out a warning for me so this
> needs people to use 9.2+ to notice.

Yep, it's intentional. Only GCC 9 branch prints the warning:

$ gcc-9 -frepo main.cpp
cc1plus: warning: ‘-frepo’ is deprecated and will be removed in a future release [-Wdeprecated]

As we plan to remove it for trunk, it does not make sense to print the warning for trunk.

Martin

> 
> Richard.
> 
>> nathan
>>
>> --
>> Nathan Sidwell



More information about the Gcc-patches mailing list