OSDN Git Service

Fix PR c++/48838
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 08:34:53 +0000 (08:34 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 08:34:53 +0000 (08:34 +0000)
commit99ad145a9a9f057b5a710fd0ef55a96c59d87942
tree192cba8d3931d0c9f754675ae29696b4a8ad538e
parentc28818746c35d2f85f24664fb835cd4ab95b53c9
Fix PR c++/48838

gcc/cp

PR c++/48838
* cp-tree.h (non_static_member_function_p): Declare new function.
* tree.c (non_static_member_function_p): Define it.
* semantics.c (finish_call_expr): Use it.

gcc/testsuite

PR c++/48838
* g++.dg/template/member9.C: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173473 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/member9.C [new file with mode: 0644]