common.opt (fkeep-gc-roots-live): New undocumented option.
authorIan Lance Taylor <iant@google.com>
Wed, 27 Jan 2016 17:42:47 +0000 (17:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 27 Jan 2016 17:42:47 +0000 (17:42 +0000)
commit1a218fc914c5693297312ea6869c94f0cf15b35a
tree9c27e28bec476497f23cf551790e63816551db2b
parent5d70666e4c20dd634283e09336c78f79fce77d77
common.opt (fkeep-gc-roots-live): New undocumented option.

gcc/:
* common.opt (fkeep-gc-roots-live): New undocumented option.
* tree-ssa-loop-ivopts.c (add_candidate_1): If
-fkeep-gc-roots-live, skip pointers.
(add_iv_candidate_for_biv): Handle add_candidate_1 returning
NULL.

gcc/testsuite/:
* gcc.dg/tree-ssa/ivopt_5.c: New test.

From-SVN: r232888
gcc/ChangeLog
gcc/common.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ivopt_5.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c