diff options
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r-- | gcc/cp/call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 07d6f0e00ea..fce42da4126 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -1519,7 +1519,7 @@ reference_binding (tree rto, tree rfrom, tree expr, bool c_cast_p, int flags, tfrom = unlowered_expr_type (expr); /* Figure out whether or not the types are reference-related and - reference compatible. We have do do this after stripping + reference compatible. We have to do this after stripping references from FROM. */ related_p = reference_related_p (to, tfrom); /* If this is a C cast, first convert to an appropriately qualified @@ -5395,7 +5395,7 @@ build_new_op_1 (location_t loc, enum tree_code code, int flags, tree arg1, only non-member functions that have type T1 or reference to cv-qualified-opt T1 for the first argument, if the first argument has an enumeration type, or T2 or reference to cv-qualified-opt - T2 for the second argument, if the the second argument has an + T2 for the second argument, if the second argument has an enumeration type. Filter out those that don't match. */ else if (! arg2 || ! CLASS_TYPE_P (TREE_TYPE (arg2))) { |