This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13699] Extern "C" routine in different namespaces accepted with different exception signature
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2008 23:44:48 -0000
- Subject: [Bug c++/13699] Extern "C" routine in different namespaces accepted with different exception signature
- References: <bug-13699-7719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dodji at gcc dot gnu dot org 2008-07-16 23:44 -------
Subject: Bug 13699
Author: dodji
Date: Wed Jul 16 23:44:02 2008
New Revision: 137904
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137904
Log:
2008-07-16 Dodji Seketeli <dseketel@redhat.com>
PR c++/13699
* gcc/cp/name-lookup.c (lookup_extern_c_fun_binding_in_all_ns):
New function.
(pushdecl_maybe_friend): Check if a redeclaration of extern C function
complies with exception specification constraints.
Added:
trunk/gcc/testsuite/g++.dg/lookup/extern-c-redecl.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13699