summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-23 15:22:18 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-23 15:22:18 +0000
commit9b67edb73614642b91225abbbfbb580d49a267bc (patch)
treefdd042dbae94f6f35c8ce0496327265499dcc5c1
parent0975351bcd9c0a63d79206f725789009ad72bd3b (diff)
downloadppe42-gcc-9b67edb73614642b91225abbbfbb580d49a267bc.tar.gz
ppe42-gcc-9b67edb73614642b91225abbbfbb580d49a267bc.zip
* typeck.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94113 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/typeck.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9d10f68d8a7..8c3d9b346fc 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 0485d65e17f..ff960a9c24e 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);
OpenPOWER on IntegriCloud