+2015-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/64494
+ * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
+ clear SSA_NAME_ANTI_RANGE_P flag.
+
2015-01-05 Marek Polacek <polacek@redhat.com>
* doc/extend.texi (Arrays of Length Zero): Add missing comma.
+2015-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/64494
+ * gcc.c-torture/compile/pr64494.c: New test.
+
2015-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/47674
&& (!ALWAYS_EXECUTED_IN (bb)
|| (ALWAYS_EXECUTED_IN (bb) != level
&& !flow_loop_nested_p (ALWAYS_EXECUTED_IN (bb), level))))
- SSA_NAME_RANGE_INFO (gimple_assign_lhs (new_stmt)) = NULL;
+ {
+ tree lhs = gimple_assign_lhs (new_stmt);
+ SSA_NAME_RANGE_INFO (lhs) = NULL;
+ SSA_NAME_ANTI_RANGE_P (lhs) = 0;
+ }
gsi_insert_on_edge (loop_preheader_edge (level), new_stmt);
remove_phi_node (&bsi, false);
}
&& (!ALWAYS_EXECUTED_IN (bb)
|| !(ALWAYS_EXECUTED_IN (bb) == level
|| flow_loop_nested_p (ALWAYS_EXECUTED_IN (bb), level))))
- SSA_NAME_RANGE_INFO (gimple_get_lhs (stmt)) = NULL;
+ {
+ tree lhs = gimple_get_lhs (stmt);
+ SSA_NAME_RANGE_INFO (lhs) = NULL;
+ SSA_NAME_ANTI_RANGE_P (lhs) = 0;
+ }
/* In case this is a stmt that is not unconditionally executed
when the target loop header is executed and the stmt may
invoke undefined integer or pointer overflow rewrite it to