re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)
authorKugan Vivekanandarajah <kuganv@linaro.org>
Sun, 24 Jul 2016 12:47:29 +0000 (12:47 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Sun, 24 Jul 2016 12:47:29 +0000 (12:47 +0000)
commit635c1074bec1f91d4c210b1b66cf910220fa13a5
tree6a2f970bb4d5229eeae2bfcb2163c6451a29da23
parentbd84e5607ef5c01b9fc5f3cbd004aed807a084f2
re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)

gcc/ChangeLog:

2016-07-24  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR middle-end/66726
* tree-ssa-reassoc.c (optimize_vec_cond_expr): Handle tcc_compare stmt
whose result is used in PHI.
(final_range_test_p): Likewise.
(maybe_optimize_range_tests): Likewise.

From-SVN: r238695
gcc/ChangeLog
gcc/tree-ssa-reassoc.c