From: Martin Jambor Date: Tue, 21 Feb 2017 13:55:32 +0000 (+0100) Subject: [PATCH] Properly deprecate -fipa-cp-alignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=781176469e242fb669dcc9547b72979be9059a94;p=gcc.git [PATCH] Properly deprecate -fipa-cp-alignment 2017-02-21 Martin Jambor * common.opt (-fipa-cp-alignment): Mark as ignored and preserved for backward compatibility only. * doc/invoke.texi (Option Summary): Remove all references to -fipa-cp-alignment. From-SVN: r245627 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82e8e8c364c..3f398f49be9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-02-21 Martin Jambor + + * common.opt (-fipa-cp-alignment): Mark as ignored and preserved + for backward compatibility only. + * doc/invoke.texi (Option Summary): Remove all references to + -fipa-cp-alignment. + 2017-02-21 Matthew Fortune PR target/78660 diff --git a/gcc/common.opt b/gcc/common.opt index 6defe713c0b..e5ae364abd9 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 Ignore +Does nothing. Preserved for backward compatibility. fipa-bit-cp Common Report Var(flag_ipa_bit_cp) Optimization diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 26bc146fa65..e1a1d13958e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -372,7 +372,7 @@ Objective-C and Objective-C++ Dialects}. -fif-conversion2 -findirect-inlining @gol -finline-functions -finline-functions-called-once -finline-limit=@var{n} @gol -finline-small-functions -fipa-cp -fipa-cp-clone @gol --fipa-cp-alignment -fipa-bit-cp @gol +-fipa-bit-cp @gol -fipa-pta -fipa-profile -fipa-pure-const -fipa-reference -fipa-icf @gol -fira-algorithm=@var{algorithm} @gol -fira-region=@var{region} -fira-hoist-pressure @gol @@ -7063,7 +7063,6 @@ also turns on the following optimization flags: -finline-small-functions @gol -findirect-inlining @gol -fipa-cp @gol --fipa-cp-alignment @gol -fipa-bit-cp @gol -fipa-sra @gol -fipa-icf @gol @@ -8073,15 +8072,6 @@ it may significantly increase code size (see @option{--param ipcp-unit-growth=@var{value}}). This flag is enabled by default at @option{-O3}. -@item -fipa-cp-alignment -@opindex -fipa-cp-alignment -When enabled, this optimization propagates alignment of function -parameters to support better vectorization and string operations. - -This flag is enabled by default at @option{-O2} and @option{-Os}. It -requires that @option{-fipa-cp} is enabled. -@option{-fipa-cp-alignment} is obsolete, use @option{-fipa-bit-cp} instead. - @item -fipa-bit-cp @opindex -fipa-bit-cp When enabled, perform ipa bitwise constant propagation. This flag is