This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34691] [4.3/4.4/4.5 Regression] Default argument checking not performed after overload resolution with C linkage



------- Comment #15 from jason at gcc dot gnu dot org  2009-04-08 03:55 -------
Subject: Bug 34691

Author: jason
Date: Wed Apr  8 03:55:00 2009
New Revision: 145710

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145710
Log:
        PR c++/34691
        * name-lookup.c (merge_functions): Keep multiple extern C functions.
        * call.c (joust): Complain about mismatched default arguments
        in extern C functions.
        * class.c (resolve_address_of_overloaded_function): Handle multiple
        extern C functions.
        * pt.c (resolve_overloaded_unification): Likewise.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/overload/extern-C-1.C
      - copied unchanged from r145709,
trunk/gcc/testsuite/g++.dg/overload/extern-C-1.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/class.c
    branches/gcc-4_4-branch/gcc/cp/name-lookup.c
    branches/gcc-4_4-branch/gcc/cp/pt.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]