diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/typeck.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9d10f68..8c3d9b3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2005-01-23 Kazu Hirata <kazu@cs.umass.edu> + + * typeck.c: Fix a comment typo. + 2005-01-21 Giovanni Bajo <giovannibajo@gcc.gnu.org> PR c++/19208 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 0485d65..ff960a9 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1,6 +1,6 @@ /* Build expressions with type checking for C++ compiler. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Hacked by Michael Tiemann (tiemann@cygnus.com) This file is part of GCC. @@ -2188,7 +2188,7 @@ build_array_ref (tree array, tree idx) /* Apply integral promotions *after* noticing character types. (It is unclear why we do these promotions -- the standard - does not say that we should. In fact, the natual thing would + does not say that we should. In fact, the natural thing would seem to be to convert IDX to ptrdiff_t; we're performing pointer arithmetic.) */ idx = perform_integral_promotions (idx); |
