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 #14 from jason at gcc dot gnu dot org  2009-04-08 03:45 -------
Subject: Bug 34691

Author: jason
Date: Wed Apr  8 03:44:48 2009
New Revision: 145709

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145709
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:
    trunk/gcc/testsuite/g++.dg/overload/extern-C-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/class.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/pt.c
    trunk/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]