[Bug c++/18838] [3.4 only] overload resolution depends on previous uses of the symbol

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 28 15:24:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-28 08:27 -------
Subject: Bug 18838

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-rhl-branch
Changes by:	jakub@gcc.gnu.org	2005-02-28 08:26:41

Modified files:
	gcc/cp         : ChangeLog 
	gcc/testsuite  : ChangeLog 
	gcc/cp         : name-lookup.c 
Added files:
	gcc/testsuite/g++.dg/lookup: builtin1.C builtin2.C 

Log message:
	PR c++/18838
	2005-01-30  Mark Mitchell  <mark@codesourcery.com>
	PR c++/19367
	* name-lookup.c (do_nonmember_using_decl): Avoid overloading
	builtin declarations.
	
	PR c++/18838
	* g++.dg/lookup/builtin2.C: New test.
	2005-01-30  Mark Mitchell  <mark@codesourcery.com>
	PR c++/19367
	* g++.dg/lookup/builtin1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.3892.2.99.2.24&r2=1.3892.2.99.2.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.3389.2.170.2.45&r2=1.3389.2.170.2.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.34.2.11.2.8&r2=1.34.2.11.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/builtin1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/builtin2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.2.1



-- 


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



More information about the Gcc-bugs mailing list