[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:57:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48594

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-21 02:56:42 UTC ---
Author: jason
Date: Thu Apr 21 02:56:39 2011
New Revision: 172803

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172803
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_5-branch/gcc/testsuite/g++.dg/template/operator11.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/decl2.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list