re PR tree-optimization/82163 (ICE on valid code at -O3 on x86_64-linux-gnu: in check...
authorBin Cheng <bin.cheng@arm.com>
Mon, 25 Sep 2017 17:32:36 +0000 (17:32 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Mon, 25 Sep 2017 17:32:36 +0000 (17:32 +0000)
commitd80d5c38f921543c375c9e8aeabec2e07dba8a9f
tree46fa93e2e0fa8b863fe7b992492d01123b9b98ec
parentc02bffe38a706d8251442cf01095563c1bdcd61f
re PR tree-optimization/82163 (ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:707)

PR tree-optimization/82163
* tree-ssa-loop-manip.h (verify_loop_closed_ssa): New parameter.
(checking_verify_loop_closed_ssa): New parameter.
* tree-ssa-loop-manip.c (check_loop_closed_ssa_use): Delete.
(check_loop_closed_ssa_stmt): Delete.
(check_loop_closed_ssa_def, check_loop_closed_ssa_bb): New functions.
(verify_loop_closed_ssa): Check loop closed ssa form for LOOP.
(tree_transform_and_unroll_loop): Check loop closed ssa form only for
changed loops.

gcc/testsuite
* gcc.dg/tree-ssa/pr82163.c: New test.

From-SVN: r253161
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr82163.c [new file with mode: 0644]
gcc/tree-ssa-loop-manip.c
gcc/tree-ssa-loop-manip.h