On Wed, Feb 8, 2017 at 1:49 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Wed, Feb 08, 2017 at 01:41:24PM +0100, Martin Jambor wrote:
>> 2017-02-08  Martin Jambor  <mjam...@suse.cz>
>>
>>       * common.opt (-finstrument-functions-exclude-file-list): Remove Var
>>       and Optimization, Document as deprecated and superseded by
>>       -fipa-bit-cp.
>>       * doc/invoke.texi (Option Summary): Remove -fipa-cp-alignment.
>>       (Optimize Options): Likewise.
>>       (-fipa-cp-alignment): Document as deprecated.
>> ---
>>  gcc/common.opt      |  4 ++--
>>  gcc/doc/invoke.texi | 11 +++--------
>>  2 files changed, 5 insertions(+), 10 deletions(-)
>>
>> diff --git a/gcc/common.opt b/gcc/common.opt
>> index ad6baa3db68..661235ee4a9 100644
>> --- a/gcc/common.opt
>> +++ b/gcc/common.opt
>> @@ -1612,8 +1612,8 @@ Common Report Var(flag_ipa_cp_clone) Optimization
>>  Perform cloning to make Interprocedural constant propagation stronger.
>>
>>  fipa-cp-alignment
>> -Common Report Var(flag_ipa_cp_alignment) Optimization
>> -Perform alignment discovery and propagation to make Interprocedural 
>> constant propagation stronger.
>> +Common Report
>> +This switch is deprecated.  Use -fipa-bit-cp instead.
>
> I think this should be
> Common Ignore
> Does nothing. Preserved for backward compatibility.
> instead, but Joseph is the option handling maintainer, so CCing him.

Or make it an alias for -fipa-bit-cp.

Richard.

>         Jakub

Reply via email to