tree-ssa-reassoc.c (sort_by_operand_rank): Skip checking gimple_bb when there is...
authorKugan Vivekanandarajah <kuganv@linaro.org>
Tue, 24 May 2016 22:29:27 +0000 (22:29 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Tue, 24 May 2016 22:29:27 +0000 (22:29 +0000)
commit2bc145afaa6db175fa6d6e7556432ad27f13289b
treebba95c0e089fdfca7bcaa8a0c3ee2bb3eacd8c3f
parent26869fdb471ee8d0fcdcf3d27f5ac5dbadc7b5e0
tree-ssa-reassoc.c (sort_by_operand_rank): Skip checking gimple_bb when there is stmt_to_insert.

gcc/ChangeLog:

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

* tree-ssa-reassoc.c (sort_by_operand_rank): Skip checking gimple_bb
when there is stmt_to_insert.

gcc/testsuite/ChangeLog:

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

* gcc.dg/tree-ssa/reassoc-44.c: New test.

From-SVN: r236673
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-44.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c