From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18955 invoked by alias); 8 Apr 2009 03:55:23 -0000 Received: (qmail 18917 invoked by alias); 8 Apr 2009 03:55:13 -0000 Date: Wed, 08 Apr 2009 03:55:00 -0000 Message-ID: <20090408035513.18916.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/34691] [4.3/4.4/4.5 Regression] Default argument checking not performed after overload resolution with C linkage In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00692.txt.bz2 ------- 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