This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Properly deprecate -fipa-cp-alignment
- From: Jakub Jelinek <jakub at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Wed, 8 Feb 2017 13:49:17 +0100
- Subject: Re: [PATCH] Properly deprecate -fipa-cp-alignment
- Authentication-results: sourceware.org; auth=none
- References: <20170208124124.hufnye2g2es4s6fv@virgil.suse.cz>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Feb 08, 2017 at 01:41:24PM +0100, Martin Jambor wrote:
> 2017-02-08 Martin Jambor <mjambor@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.
Jakub