From 6ccf2f7d07a74e74fbf37eb38c7de079a2278ed5 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 23 Jan 2005 15:22:18 +0000 Subject: [PATCH] * typeck.c: Fix a comment typo. From-SVN: r94113 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/typeck.c | 4 ++-- 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 + + * typeck.c: Fix a comment typo. + 2005-01-21 Giovanni Bajo 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); -- 2.30.2