[Bug c++/40342] [4.4/4.5 Regression] ambiguous overload not diagnosed

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 24 17:02:00 GMT 2009



------- Comment #3 from jason at gcc dot gnu dot org  2009-06-24 17:02 -------
Subject: Bug 40342

Author: jason
Date: Wed Jun 24 17:02:03 2009
New Revision: 148911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148911
Log:
        PR c++/40342
        * decl.c (decls_match): Check DECL_TI_TEMPLATE too.
        * class.c (resolve_address_of_overloaded_function): Fix typo.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/overload10.C
      - copied unchanged from r148910,
trunk/gcc/testsuite/g++.dg/template/overload10.C
Modified:
    branches/gcc-4_4-branch/gcc/   (props changed)
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/class.c
    branches/gcc-4_4-branch/gcc/cp/decl.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-4_4-branch/gcc/
            ('svn:mergeinfo' added)


-- 


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



More information about the Gcc-bugs mailing list