diff options
Diffstat (limited to 'gcc/gimple-ssa-isolate-paths.c')
-rw-r--r-- | gcc/gimple-ssa-isolate-paths.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gimple-ssa-isolate-paths.c b/gcc/gimple-ssa-isolate-paths.c index ca2322d1346..aec3637d162 100644 --- a/gcc/gimple-ssa-isolate-paths.c +++ b/gcc/gimple-ssa-isolate-paths.c @@ -53,7 +53,7 @@ static bool cfg_altered; This routine only makes a superficial check for a dereference. Thus, it must only be used if it is safe to return a false negative. */ static bool -check_loadstore (gimple stmt, tree op, tree, void *data) +check_loadstore (gimple *stmt, tree op, tree, void *data) { if ((TREE_CODE (op) == MEM_REF || TREE_CODE (op) == TARGET_MEM_REF) && operand_equal_p (TREE_OPERAND (op, 0), (tree)data, 0)) @@ -80,7 +80,7 @@ insert_trap (gimple_stmt_iterator *si_p, tree op) If the dereference is a store and we can easily transform the RHS, then simplify the RHS to enable more DCE. Note that we require the statement to be a GIMPLE_ASSIGN which filters out calls on the RHS. */ - gimple stmt = gsi_stmt (*si_p); + gimple *stmt = gsi_stmt (*si_p); if (walk_stmt_load_store_ops (stmt, (void *)op, NULL, check_loadstore) && is_gimple_assign (stmt) && INTEGRAL_TYPE_P (TREE_TYPE (gimple_assign_lhs (stmt)))) @@ -136,7 +136,7 @@ insert_trap (gimple_stmt_iterator *si_p, tree op) basic_block isolate_path (basic_block bb, basic_block duplicate, - edge e, gimple stmt, tree op, bool ret_zero) + edge e, gimple *stmt, tree op, bool ret_zero) { gimple_stmt_iterator si, si2; edge_iterator ei; @@ -266,7 +266,7 @@ find_implicit_erroneous_behaviour (void) tree op = gimple_phi_arg_def (phi, i); edge e = gimple_phi_arg_edge (phi, i); imm_use_iterator iter; - gimple use_stmt; + gimple *use_stmt; next_i = i + 1; @@ -387,7 +387,7 @@ find_explicit_erroneous_behaviour (void) because of jump threading and constant propagation. */ for (si = gsi_start_bb (bb); !gsi_end_p (si); gsi_next (&si)) { - gimple stmt = gsi_stmt (si); + gimple *stmt = gsi_stmt (si); /* By passing null_pointer_node, we can use the infer_nonnull_range functions to detect explicit NULL |