OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
semantics.c
diff --git
a/gcc/cp/semantics.c
b/gcc/cp/semantics.c
index
054a83e
..
46789f7
100644
(file)
--- a/
gcc/cp/semantics.c
+++ b/
gcc/cp/semantics.c
@@
-2928,7
+2928,7
@@
finish_id_expression (tree id_expression,
{
if (DECL_P (decl) && DECL_NONLOCAL (decl)
&& DECL_CLASS_SCOPE_P (decl)
- &&
DECL_CONTEXT
(decl) != current_class_type)
+ &&
context_for_name_lookup
(decl) != current_class_type)
{
tree path;