re PR middle-end/71269 (segfault while compiling sqlite)
authorKugan Vivekanandarajah <kuganv@linaro.org>
Mon, 30 May 2016 10:47:57 +0000 (10:47 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Mon, 30 May 2016 10:47:57 +0000 (10:47 +0000)
commit5d476e35f0d9877b34330e9df9b6f72d33020533
tree4bd7ac6454dc0b3294ce67725411c6bfec7fb42d
parentdb5447cad85ddee2973bc95cb5d4890b8c3d847b
re PR middle-end/71269 (segfault while compiling sqlite)

gcc/testsuite/ChangeLog:

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

PR middle-end/71269
PR middle-end/71292
* gcc.dg/tree-ssa/pr71269.c: New test.
* gcc.dg/tree-ssa/pr71292.c: New test.

gcc/ChangeLog:

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

PR middle-end/71269
PR middle-end/71252
* tree-ssa-reassoc.c (insert_stmt_before_use): Use find_insert_point so
that inserted stmt will not dominate stmts that defines its operand.
(rewrite_expr_tree): Add stmt_to_insert before adding the use stmt.
(rewrite_expr_tree_parallel): Likewise.

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