aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-06-19 21:40:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2006-06-19 21:40:05 +0000
commita1d08991019fbebe845fa970cdaf3d1cd0fa6dde (patch)
treedf203440d76e7188ef1c27ba59580bdcfe54597a /gcc/cp
parentca84a9a2e37fc3803f8f1b8485d374f24c1cc4c1 (diff)
downloadgcc-a1d08991019fbebe845fa970cdaf3d1cd0fa6dde.zip
gcc-a1d08991019fbebe845fa970cdaf3d1cd0fa6dde.tar.gz
gcc-a1d08991019fbebe845fa970cdaf3d1cd0fa6dde.tar.bz2
* pt.c (instantiate_template): Fix typo in comment.
From-SVN: r114788
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index db7eb37..72a723f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-19 Mark Mitchell <mark@codesourcery.com>
+
+ * pt.c (instantiate_template): Fix typo in comment.
+
2006-06-19 Richard Guenther <rguenther@suse.de>
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 79183f5..08bda26 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -9295,9 +9295,10 @@ instantiate_template (tree tmpl, tree targ_ptr, tsubst_flags_t complain)
/* Although PROCESSING_TEMPLATE_DECL may be true at this point
(because, for example, we have encountered a non-dependent
- function call in the body of a template function must determine
- which of several overloaded functions will be called), within the
- instantiation itself we are not processing a template. */
+ function call in the body of a template function and must now
+ determine which of several overloaded functions will be called),
+ within the instantiation itself we are not processing a
+ template. */
saved_processing_template_decl = processing_template_decl;
processing_template_decl = 0;
/* Substitute template parameters to obtain the specialization. */