re PR c++/48656 ([C++0x] cannot call member function without object)
authorDodji Seketeli <dodji@redhat.com>
Thu, 28 Apr 2011 18:08:43 +0000 (18:08 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Thu, 28 Apr 2011 18:08:43 +0000 (20:08 +0200)
commitf62cd40949d0219d9c2c6e24afb0377fcde9d0e3
tree045a8de9c3dbb528cf40d3d494e26698cc1199b7
parentc6fc44f364be516ab4c2043de5d8999c961a279d
re PR c++/48656 ([C++0x] cannot call member function without object)

Fix PR c++/48656

gcc/cp/

* semantics.c (finish_call_expr): Don't forget BASELINK nodes when
considering call expressions involving a member function.

gcc/testsuite/

* gcc/testsuite/g++.dg/template/inherit7.C: New test case.

From-SVN: r173123
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/inherit7.C [new file with mode: 0644]