This is the mail archive of the gcc-cvs@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]

r114652 - in /branches/gcc-4_1-branch/gcc: cp/C...


Author: mmitchel
Date: Wed Jun 14 19:17:19 2006
New Revision: 114652

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114652
Log:
	PR c++/27227
	* decl.c (decls_match): Allow an extern "C" variable declarations
	from different namespaces to match.
	(duplicate_decls): Disallow redeclaring a variable with a
	different linkage specification.
	PR c++/27227
	* g++.dg/lookup/linkage1.C: New test.
	* g++.dg/lookup/linkage2.C: Likewise.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/lookup/linkage1.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/lookup/linkage2.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


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