aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-08-24 06:37:58 +0000
committerMark Mitchell <mark@codesourcery.com>2004-08-24 06:37:58 +0000
commitc156be15482dac8eade623d3ecd803fab6618906 (patch)
tree9808923eae1fa32febf544a3601b98861ccf5a8e /gcc/cp/search.c
parentb936faa0dfce7b69472897decdfae1191320b50b (diff)
PR c++/17163
* pt.c (instantiate_decl): Do not try to apply DECL_DECLARED_INLINED_P to a VAR_DECL. PR c++/17163 * g++.dg/template/repo2.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86467 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 459c1742705..df5804b29ef 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -1135,7 +1135,7 @@ lookup_field_r (tree binfo, void *data)
return NULL_TREE;
}
-/* Return a "baselink" which BASELINK_BINFO, BASELINK_ACCESS_BINFO,
+/* Return a "baselink" with BASELINK_BINFO, BASELINK_ACCESS_BINFO,
BASELINK_FUNCTIONS, and BASELINK_OPTYPE set to BINFO, ACCESS_BINFO,
FUNCTIONS, and OPTYPE respectively. */