diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-18 08:01:02 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-18 08:01:02 +0000 |
commit | 6d657374dcadc67f4fedadb978cc2eab21a2eb0c (patch) | |
tree | 12e28f24394c4a40daf7b3702589fd5cebd9d7b1 /gcc/cp/search.c | |
parent | 53f03a21dfa691288820776fcf93fb2990abc42d (diff) | |
download | gcc-6d657374dcadc67f4fedadb978cc2eab21a2eb0c.tar.gz |
* search.c (lookup_conversions_r): Fix a pasto.
* g++.dg/parse/lookup5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r-- | gcc/cp/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 090510b4103..90e88d6865e 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -2355,7 +2355,7 @@ lookup_conversions_r (tree binfo, { parent_tpl_convs = tree_cons (binfo, my_tpl_convs, parent_tpl_convs); if (virtual_depth) - TREE_STATIC (parent_convs) = 1; + TREE_STATIC (parent_tpl_convs) = 1; } child_convs = other_convs; |