From 270af55dd492407a9b18ab75458b2f9ecac98cb1 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 27 Nov 2004 20:44:30 +0000 Subject: [PATCH] * pt.c: Fix a comment typo. From-SVN: r91391 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * pt.c: Fix a comment typo. + 2004-11-27 Kriang Lerdsuwanakij 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) -- 2.30.2