re PR tree-optimization/71252 (ICE: verify_ssa failed : definition in block 7 does...
authorKugan Vivekanandarajah <kuganv@linaro.org>
Mon, 30 May 2016 10:45:19 +0000 (10:45 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Mon, 30 May 2016 10:45:19 +0000 (10:45 +0000)
commitdb5447cad85ddee2973bc95cb5d4890b8c3d847b
tree32ce00e2bcfd9fa901b79d69966b3b9c1446ac01
parent98bdbb39a6676776c528f3b51ce740669c06d708
re PR tree-optimization/71252 (ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6)

gcc/ChangeLog:

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

PR middle-end/71252
* tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix swap such that
all fields including stmt_to_insert are swapped.

gcc/testsuite/ChangeLog:

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

PR middle-end/71252
* gcc.dg/tree-ssa/pr71252-2.c: New test.

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