[Bug c++/5296] [3.3/3.4 Regression] [DR115] Pointers to functions and template functions behave different in deduction

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 8 16:59:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-08 16:59 -------
Subject: Bug 5296

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	mmitchel@gcc.gnu.org	2003-09-08 16:59:00

Modified files:
	gcc/cp         : pt.c 
Added files:
	gcc/testsuite/g++.dg/rtti: typeid2.C 

Log message:
	PR c++/5296
	* pt.c (try_one_overload): Add addr_p parameter.
	(resolve_overloaded_unification): Pass it.
	
	PR c++/5296
	* g++.dg/rtti/typeid2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.635.2.36&r2=1.635.2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/rtti/typeid2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1



More information about the Gcc-bugs mailing list