From da43189a025677a4248e5b2b54e359b60573986e Mon Sep 17 00:00:00 2001 From: bstarynk Date: Thu, 14 Apr 2016 14:06:30 +0000 Subject: 2016-04-14 Basile Starynkevitch {{merging with even more of GCC 6, using subversion 1.9 svn merge -r227940:227942 ^/trunk }} [gcc/] 2016-04-14 Basile Starynkevitch {{merging with even more of GCC 6, i.e. svn rev 227942; very unstable...}} * melt/generated/warmelt-base+01.cc: Manually edited. * melt/generated/warmelt-debug.cc: Ditto. * melt/generated/warmelt-macro+01.cc: Ditto. * melt/warmelt-first.melt (ctype_gimple, ctype_gimpleseq): Change the :ctype_marker field to gt_ggc_mx_gimple. Should consider using overloaded gt_ggc_mx. * melt-runtime.h (melt_gimple_call_set_lhs): Use melt_gimpleptr_t in arg & result. * melt-runtime.cc (meltgc_retrieve_location_from_value) (meltgc_ppout_gimple): Likewise. (melt_gt_ggc_mx_gimple_seq_d): Specialized for GCC 6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@234975 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-vect-loop-manip.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (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 efcc4bb0336..c90871b382b 100644 --- a/gcc/tree-vect-loop-manip.c +++ b/gcc/tree-vect-loop-manip.c @@ -84,7 +84,7 @@ rename_use_op (use_operand_p op_p) static void rename_variables_in_bb (basic_block bb, bool rename_from_outer_loop) { - gimple stmt; + gimple *stmt; use_operand_p use_p; ssa_op_iter iter; edge e; @@ -143,7 +143,7 @@ adjust_debug_stmts_now (adjust_info *ai) tree orig_def = ai->from; tree new_def = ai->to; imm_use_iterator imm_iter; - gimple stmt; + gimple *stmt; basic_block bbdef = gimple_bb (SSA_NAME_DEF_STMT (orig_def)); gcc_assert (dom_info_available_p (CDI_DOMINATORS)); @@ -230,7 +230,7 @@ adjust_debug_stmts (tree from, tree to, basic_block bb) transformations. */ static void -adjust_phi_and_debug_stmts (gimple update_phi, edge e, tree new_def) +adjust_phi_and_debug_stmts (gimple *update_phi, edge e, tree new_def) { tree orig_def = PHI_ARG_DEF_FROM_EDGE (update_phi, e); @@ -496,7 +496,7 @@ slpeel_update_phi_nodes_for_guard1 (edge guard_edge, struct loop *loop, set this earlier. Verify the PHI has the same value. */ if (new_name) { - gimple phi = SSA_NAME_DEF_STMT (new_name); + gimple *phi = SSA_NAME_DEF_STMT (new_name); gcc_assert (gimple_code (phi) == GIMPLE_PHI && gimple_bb (phi) == *new_exit_bb && (PHI_ARG_DEF_FROM_EDGE (phi, single_exit (loop)) @@ -737,8 +737,8 @@ slpeel_duplicate_current_defs_from_edges (edge from, edge to) !gsi_end_p (gsi_from) && !gsi_end_p (gsi_to); gsi_next (&gsi_from), gsi_next (&gsi_to)) { - gimple from_phi = gsi_stmt (gsi_from); - gimple to_phi = gsi_stmt (gsi_to); + gimple *from_phi = gsi_stmt (gsi_from); + gimple *to_phi = gsi_stmt (gsi_to); tree from_arg = PHI_ARG_DEF_FROM_EDGE (from_phi, from); tree to_arg = PHI_ARG_DEF_FROM_EDGE (to_phi, to); if (TREE_CODE (from_arg) == SSA_NAME @@ -1227,7 +1227,7 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop, struct loop *scalar_loop, gphi *new_phi = create_phi_node (new_vop, exit_e->dest); tree vop = PHI_ARG_DEF_FROM_EDGE (phi, EDGE_SUCC (loop->latch, 0)); imm_use_iterator imm_iter; - gimple stmt; + gimple *stmt; use_operand_p use_p; add_phi_arg (new_phi, vop, exit_e, UNKNOWN_LOCATION); @@ -1494,7 +1494,7 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop, struct loop *scalar_loop, source_location find_loop_location (struct loop *loop) { - gimple stmt = NULL; + gimple *stmt = NULL; basic_block bb; gimple_stmt_iterator si; @@ -1540,7 +1540,7 @@ vect_can_advance_ivs_p (loop_vec_info loop_vinfo) { struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); basic_block bb = loop->header; - gimple phi; + gimple *phi; gphi_iterator gsi; /* Analyze phi functions of the loop header. */ @@ -1855,7 +1855,7 @@ vect_gen_niters_for_prolog_loop (loop_vec_info loop_vinfo, tree loop_niters, int tree iters, iters_name; edge pe; basic_block new_bb; - gimple dr_stmt = DR_STMT (dr); + gimple *dr_stmt = DR_STMT (dr); stmt_vec_info stmt_info = vinfo_for_stmt (dr_stmt); tree vectype = STMT_VINFO_VECTYPE (stmt_info); int vectype_align = TYPE_ALIGN (vectype) / BITS_PER_UNIT; @@ -2111,9 +2111,9 @@ vect_create_cond_for_align_checks (loop_vec_info loop_vinfo, gimple_seq *cond_expr_stmt_list) { struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); - vec may_misalign_stmts + vec may_misalign_stmts = LOOP_VINFO_MAY_MISALIGN_STMTS (loop_vinfo); - gimple ref_stmt; + gimple *ref_stmt; int mask = LOOP_VINFO_PTR_MASK (loop_vinfo); tree mask_cst; unsigned int i; @@ -2121,7 +2121,7 @@ vect_create_cond_for_align_checks (loop_vec_info loop_vinfo, char tmp_name[20]; tree or_tmp_name = NULL_TREE; tree and_tmp_name; - gimple and_stmt; + gimple *and_stmt; tree ptrsize_zero; tree part_cond_expr; @@ -2140,7 +2140,7 @@ vect_create_cond_for_align_checks (loop_vec_info loop_vinfo, tree addr_base; tree addr_tmp_name; tree new_or_tmp_name; - gimple addr_stmt, or_stmt; + gimple *addr_stmt, *or_stmt; stmt_vec_info stmt_vinfo = vinfo_for_stmt (ref_stmt); tree vectype = STMT_VINFO_VECTYPE (stmt_vinfo); bool negative = tree_int_cst_compare -- cgit v1.2.1