diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-27 20:44:30 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-27 20:44:30 +0000 |
commit | 270af55dd492407a9b18ab75458b2f9ecac98cb1 (patch) | |
tree | 45f174f08fd2bfeb3642730ad3d2e5dcd7190650 /gcc | |
parent | 84477ec3e8983975c212ca354d1413fc791573e9 (diff) | |
download | gcc-270af55dd492407a9b18ab75458b2f9ecac98cb1.zip gcc-270af55dd492407a9b18ab75458b2f9ecac98cb1.tar.gz gcc-270af55dd492407a9b18ab75458b2f9ecac98cb1.tar.bz2 |
* pt.c: Fix a comment typo.
From-SVN: r91391
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bf2ddb8..e99f280 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 cc11f36..f8ba33d 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) |