[Bug c++/48594] [4.3/4.4/4.5] Rejects valid with pointer-to-member in template
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 21 02:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48594
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-21 02:57:31 UTC ---
Author: jason
Date: Thu Apr 21 02:57:28 2011
New Revision: 172804
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172804
Log:
PR c++/48594
* decl2.c (build_offset_ref_call_from_tree): Fix calling a functor
or pointer to (non-member) function.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/operator11.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/call.c
branches/gcc-4_4-branch/gcc/cp/cp-tree.h
branches/gcc-4_4-branch/gcc/cp/decl2.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list