re PR c++/48594 (Rejects valid with pointer-to-member in template)
authorJason Merrill <jason@redhat.com>
Wed, 13 Apr 2011 20:50:26 +0000 (16:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Apr 2011 20:50:26 +0000 (16:50 -0400)
commit516d9427ed538547a182833b2cf16f557c932710
tree2410846527c100ed914c6ae240c4d2615c0e9030
parent4b1a46942eacea3c40aff3d22d7712c530721aa8
re PR c++/48594 (Rejects valid with pointer-to-member in template)

PR c++/48594
* decl2.c (build_offset_ref_call_from_tree): Fix calling a functor
or pointer to (non-member) function.

From-SVN: r172394
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/operator11.C [new file with mode: 0644]