summaryrefslogtreecommitdiff
path: root/gcc/cp/call.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-13 04:46:34 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-13 04:46:34 +0000
commit47ae02b70c395550e01975e649e37f6ea829dac5 (patch)
treeb334918063791e89f97a111eb02e3d0c9f8a766e /gcc/cp/call.c
parentd7d884cefe202081bff234e3bd0a3dcaed79d5a1 (diff)
downloadgcc-47ae02b70c395550e01975e649e37f6ea829dac5.tar.gz
Fix double word typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r--gcc/cp/call.c4
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)))
{