summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
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