From 4ee31f1e477ffd0354f1322970d6c09ae580f665 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 29 Feb 2004 22:02:30 +0000 Subject: passes.c, [...]: Fix comment typos. gcc/ * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment typos. * doc/cppopts.texi: Fix a typo. gcc/cp/ * call.c: Fix a comment typo. From-SVN: r78676 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/call.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/cp') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 77a68bd..2c05b71 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-02-29 Kazu Hirata + + * call.c: Fix a comment typo. + 2004-02-27 Ziemowit Laski * tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 70783dc..b8b7b7a 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -3268,7 +3268,7 @@ build_conditional_expr (tree arg1, tree arg2, tree arg3) conversion to "volatile X", what is the type of the second operand after this step? Making it be "const X" (matching the first operand) seems wrong, as that discards the - qualification without actuall performing a copy. Leaving it + qualification without actually performing a copy. Leaving it as "volatile X" seems wrong as that will result in the conditional expression failing altogether, even though, according to this step, the one operand could be converted to -- cgit v1.1