fix pr78060 pr78061 pr78088
authorMichael Matz <matz@suse.de>
Wed, 26 Oct 2016 12:54:30 +0000 (12:54 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Wed, 26 Oct 2016 12:54:30 +0000 (12:54 +0000)
commit09844a5f640d7e881f503859953925ae260a2be8
tree66e612c83ccf90f62666ef2ec1bd1157716a86b8
parent0ef33d44629066e33ffdc46014374a3ef5c5f009
fix pr78060 pr78061 pr78088

PR tree-optimization/78060
PR tree-optimization/78061
PR tree-optimization/78088
* tree-ssa-loop-split.c (easy_exit_values): New function.
(tree_ssa_split_loops): Use it.
(compute_new_first_bound): Change order of operations,
fix invalid use of types.

testsuite/
* g++.dg/pr78060.C: New test.
* gfortran.dg/pr78061.f: New test.
* g++.dg/pr78088.C: New test.

From-SVN: r241551
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr78060.C [new file with mode: 0644]
gcc/testsuite/g++.dg/pr78088.C [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr78061.f [new file with mode: 0644]
gcc/tree-ssa-loop-split.c