diff options
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 27ec29bef4a..f3dbc508429 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -8966,7 +8966,7 @@ simplify_truth_ops_using_ranges (gimple_stmt_iterator *gsi, gimple stmt) /* For A != B we substitute A ^ B. Either with conversion. */ else if (need_conversion) { - tree tem = make_ssa_name (TREE_TYPE (op0), NULL); + tree tem = make_ssa_name (TREE_TYPE (op0)); gassign *newop = gimple_build_assign_with_ops (BIT_XOR_EXPR, tem, op0, op1); gsi_insert_before (gsi, newop, GSI_SAME_STMT); @@ -9734,7 +9734,7 @@ simplify_float_conversion_using_ranges (gimple_stmt_iterator *gsi, gimple stmt) /* It works, insert a truncation or sign-change before the float conversion. */ tem = make_ssa_name (build_nonstandard_integer_type - (GET_MODE_PRECISION (mode), 0), NULL); + (GET_MODE_PRECISION (mode), 0)); conv = gimple_build_assign_with_ops (NOP_EXPR, tem, rhs1); gsi_insert_before (gsi, conv, GSI_SAME_STMT); gimple_assign_set_rhs1 (stmt, tem); @@ -9809,7 +9809,7 @@ simplify_internal_call_using_ranges (gimple_stmt_iterator *gsi, gimple stmt) else if (!useless_type_conversion_p (utype, TREE_TYPE (op0))) { g = gimple_build_assign_with_ops (NOP_EXPR, - make_ssa_name (utype, NULL), op0); + make_ssa_name (utype), op0); gimple_set_location (g, loc); gsi_insert_before (gsi, g, GSI_SAME_STMT); op0 = gimple_assign_lhs (g); @@ -9819,19 +9819,18 @@ simplify_internal_call_using_ranges (gimple_stmt_iterator *gsi, gimple stmt) else if (!useless_type_conversion_p (utype, TREE_TYPE (op1))) { g = gimple_build_assign_with_ops (NOP_EXPR, - make_ssa_name (utype, NULL), op1); + make_ssa_name (utype), op1); gimple_set_location (g, loc); gsi_insert_before (gsi, g, GSI_SAME_STMT); op1 = gimple_assign_lhs (g); } - g = gimple_build_assign_with_ops (subcode, make_ssa_name (utype, NULL), + g = gimple_build_assign_with_ops (subcode, make_ssa_name (utype), op0, op1); gimple_set_location (g, loc); gsi_insert_before (gsi, g, GSI_SAME_STMT); if (utype != type) { - g = gimple_build_assign_with_ops (NOP_EXPR, - make_ssa_name (type, NULL), + g = gimple_build_assign_with_ops (NOP_EXPR, make_ssa_name (type), gimple_assign_lhs (g)); gimple_set_location (g, loc); gsi_insert_before (gsi, g, GSI_SAME_STMT); |