summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-27 20:44:30 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-27 20:44:30 +0000
commitbcc16f59377965a4ad1edd39499a711d9cab838c (patch)
tree45f174f08fd2bfeb3642730ad3d2e5dcd7190650 /gcc
parenta8fe29f99596595c0c055cb4e53e132e528eebf6 (diff)
downloadppe42-gcc-bcc16f59377965a4ad1edd39499a711d9cab838c.tar.gz
ppe42-gcc-bcc16f59377965a4ad1edd39499a711d9cab838c.zip
* pt.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91391 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index bf2ddb85da8..e99f28072aa 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
+
+ * pt.c: Fix a comment typo.
+
2004-11-27 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Friend class name lookup 4/n
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index cc11f364d30..f8ba33d5452 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -6735,7 +6735,7 @@ tsubst_function_type (tree t,
return error_mark_node;
/* The standard does not presently indicate that creation of a
function type with an invalid return type is a deduction failure.
- However, that is clearly analagous to creating an array of "void"
+ However, that is clearly analogous to creating an array of "void"
or a reference to a reference. This is core issue #486. */
if (TREE_CODE (return_type) == ARRAY_TYPE
|| TREE_CODE (return_type) == FUNCTION_TYPE)
OpenPOWER on IntegriCloud