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-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
call.c
diff --git
a/gcc/cp/call.c
b/gcc/cp/call.c
index
bd607ab
..
7d4e963
100644
(file)
--- a/
gcc/cp/call.c
+++ b/
gcc/cp/call.c
@@
-4614,7
+4614,7
@@
build_over_call (struct z_candidate *cand, int flags)
primary template because `B<T>::g' and `B<int>::g' may have
different access. */
if (DECL_TEMPLATE_INFO (fn)
primary template because `B<T>::g' and `B<int>::g' may have
different access. */
if (DECL_TEMPLATE_INFO (fn)
- &&
is_member_template
(DECL_TI_TEMPLATE (fn)))
+ &&
DECL_MEMBER_TEMPLATE_P
(DECL_TI_TEMPLATE (fn)))
perform_or_defer_access_check (cand->access_path,
DECL_TI_TEMPLATE (fn));
else
perform_or_defer_access_check (cand->access_path,
DECL_TI_TEMPLATE (fn));
else