diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-29 22:02:30 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-29 22:02:30 +0000 |
commit | 4ee31f1e477ffd0354f1322970d6c09ae580f665 (patch) | |
tree | 7f5cf22ec110c051c540a6abb5ff3e9d0f669392 /gcc/cp | |
parent | 15ec19b9b8492947e5488fbb13c960ef456eb524 (diff) | |
download | gcc-4ee31f1e477ffd0354f1322970d6c09ae580f665.zip gcc-4ee31f1e477ffd0354f1322970d6c09ae580f665.tar.gz gcc-4ee31f1e477ffd0354f1322970d6c09ae580f665.tar.bz2 |
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
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/call.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <kazu@cs.umass.edu> + + * call.c: Fix a comment typo. + 2004-02-27 Ziemowit Laski <zlaski@apple.com> * 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 |