diff options
Diffstat (limited to 'gcc/tree-chkp-opt.c')
-rw-r--r-- | gcc/tree-chkp-opt.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/tree-chkp-opt.c b/gcc/tree-chkp-opt.c index 66c99bde38a..528dfa16e94 100644 --- a/gcc/tree-chkp-opt.c +++ b/gcc/tree-chkp-opt.c @@ -81,7 +81,7 @@ struct check_info /* Bounds used for the check. */ tree bounds; /* Check statement. Can be NULL for removed checks. */ - gimple stmt; + gimple *stmt; }; /* Structure to hold checks information for BB. */ @@ -354,7 +354,7 @@ chkp_collect_addr_value (tree ptr, address_t &res) static void chkp_collect_value (tree ptr, address_t &res) { - gimple def_stmt; + gimple *def_stmt; enum gimple_code code; enum tree_code rhs_code; address_t addr; @@ -443,7 +443,7 @@ chkp_collect_value (tree ptr, address_t &res) /* Fill check_info structure *CI with information about check STMT. */ static void -chkp_fill_check_info (gimple stmt, struct check_info *ci) +chkp_fill_check_info (gimple *stmt, struct check_info *ci) { ci->addr.pol.create (0); ci->bounds = gimple_call_arg (stmt, 1); @@ -516,7 +516,7 @@ chkp_gather_checks_info (void) for (i = gsi_start_bb (bb); !gsi_end_p (i); gsi_next (&i)) { - gimple stmt = gsi_stmt (i); + gimple *stmt = gsi_stmt (i); if (gimple_code (stmt) != GIMPLE_CALL) continue; @@ -550,7 +550,7 @@ chkp_gather_checks_info (void) static int chkp_get_check_result (struct check_info *ci, tree bounds) { - gimple bnd_def; + gimple *bnd_def; address_t bound_val; int sign, res = 0; @@ -748,7 +748,7 @@ chkp_remove_check_if_pass (struct check_info *ci) static void chkp_use_outer_bounds_if_possible (struct check_info *ci) { - gimple bnd_def; + gimple *bnd_def; tree bnd1, bnd2, bnd_res = NULL; int check_res1, check_res2; @@ -978,7 +978,7 @@ chkp_optimize_string_function_calls (void) for (i = gsi_start_bb (bb); !gsi_end_p (i); gsi_next (&i)) { - gimple stmt = gsi_stmt (i); + gimple *stmt = gsi_stmt (i); tree fndecl; if (gimple_code (stmt) != GIMPLE_CALL @@ -1062,11 +1062,11 @@ chkp_optimize_string_function_calls (void) checks only when size is not zero. */ if (!known) { - gimple check = gimple_build_cond (NE_EXPR, - size, - size_zero_node, - NULL_TREE, - NULL_TREE); + gimple *check = gimple_build_cond (NE_EXPR, + size, + size_zero_node, + NULL_TREE, + NULL_TREE); /* Split block before string function call. */ gsi_prev (&i); @@ -1119,7 +1119,7 @@ chkp_reduce_bounds_lifetime (void) for (i = gsi_start_bb (bb); !gsi_end_p (i); ) { - gimple dom_use, use_stmt, stmt = gsi_stmt (i); + gimple *dom_use, *use_stmt, *stmt = gsi_stmt (i); basic_block dom_bb; ssa_op_iter iter; imm_use_iterator use_iter; |