aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-01-23 15:22:18 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-01-23 15:22:18 +0000
commit6ccf2f7d07a74e74fbf37eb38c7de079a2278ed5 (patch)
treefdd042dbae94f6f35c8ce0496327265499dcc5c1 /gcc
parent35fd3193deafc09568065a6ebec64470e790c6f8 (diff)
downloadgcc-6ccf2f7d07a74e74fbf37eb38c7de079a2278ed5.zip
gcc-6ccf2f7d07a74e74fbf37eb38c7de079a2278ed5.tar.gz
gcc-6ccf2f7d07a74e74fbf37eb38c7de079a2278ed5.tar.bz2
* typeck.c: Fix a comment typo.
From-SVN: r94113
Diffstat (limited to 'gcc')
-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 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);