[PATCH] Properly deprecate -fipa-cp-alignment
authorMartin Jambor <mjambor@suse.cz>
Tue, 21 Feb 2017 13:55:32 +0000 (14:55 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 21 Feb 2017 13:55:32 +0000 (14:55 +0100)
2017-02-21  Martin Jambor  <mjambor@suse.cz>

* 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

gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi

index 82e8e8c..3f398f4 100644 (file)
@@ -1,3 +1,10 @@
+2017-02-21  Martin Jambor  <mjambor@suse.cz>
+
+       * 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  <matthew.fortune@imgtec.com>
 
        PR target/78660
index 6defe71..e5ae364 100644 (file)
@@ -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
index 26bc146..e1a1d13 100644 (file)
@@ -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