re PR tree-optimization/71252 (ICE: verify_ssa failed : definition in block 7 does...
authorKugan Vivekanandarajah <kuganv@linaro.org>
Tue, 24 May 2016 10:50:01 +0000 (10:50 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Tue, 24 May 2016 10:50:01 +0000 (10:50 +0000)
commitca6f60bc49de2ff3d150b6393148bdc468967eec
tree8f03741c51214f749dc37af85ff654e56232dd5a
parentd3465d72bacd65663da8f8b4977f2936a799c3cd
re PR tree-optimization/71252 (ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6)

gcc/testsuite/ChangeLog:

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

PR middle-end/71252
* gfortran.dg/pr71252.f90: New test.

gcc/ChangeLog:

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

PR middle-end/71252
* tree-ssa-reassoc.c (rewrite_expr_tree_parallel): Add stmt_to_insert after
build_and_add_sum creates new use stmt.

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