diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/call.c | 2 | ||||
| -rw-r--r-- | gcc/cp/typeck.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ba79b8b..088dac2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-10-20 Kazu Hirata <kazu@cs.umass.edu> + + * call.c, typeck.c: Fix comment typos. + 2004-10-20 Nathan Sidwell <nathan@codesourcery.com> * parser.c (cp_token_position): New typedef. Define VEC thereof. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index c535cba..46b270e 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -6303,7 +6303,7 @@ perform_implicit_conversion (tree type, tree expr) permitted. If the conversion is valid, the converted expression is returned. Otherwise, NULL_TREE is returned, except in the case that TYPE is a class type; in that case, an error is issued. If - C_CAST_P is ttrue, then this direction initialization is taking + C_CAST_P is true, then this direction initialization is taking place as part of a static_cast being attempted as part of a C-style cast. */ diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index bff5c34..763e408 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -4862,7 +4862,7 @@ build_reinterpret_cast_1 (tree type, tree expr, bool c_cast_p, || VOID_TYPE_P (TREE_TYPE (type)))) return convert_member_func_to_ptr (type, expr); - /* If the cast is not to a reference type, the lvalue-to-rvale, + /* If the cast is not to a reference type, the lvalue-to-rvalue, array-to-pointer, and function-to-pointer conversions are performed. */ expr = decay_conversion (expr); |
