From 95e19962b43a52df9c645ab8b84804a3012c0139 Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 2 Apr 2013 13:31:05 +0000 Subject: 2013-04-02 Richard Biener PR tree-optimization/56778 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Runtime alias tests are not supported for gather loads. * tree-vect-loop-manip.c (vect_loop_versioning): Insert stmts referenced from SSA operands before updating SSA form. * gcc.dg/torture/pr56778.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197355 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-vect-loop-manip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-vect-loop-manip.c') diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c index b0120a9d4de..a158c62112c 100644 --- a/gcc/tree-vect-loop-manip.c +++ b/gcc/tree-vect-loop-manip.c @@ -2476,11 +2476,11 @@ vect_loop_versioning (loop_vec_info loop_vinfo, /* End loop-exit-fixes after versioning. */ - update_ssa (TODO_update_ssa); if (cond_expr_stmt_list) { cond_exp_gsi = gsi_last_bb (condition_bb); gsi_insert_seq_before (&cond_exp_gsi, cond_expr_stmt_list, GSI_SAME_STMT); } + update_ssa (TODO_update_ssa); } -- cgit v1.2.1