[Bug c++/14803] [3.4/3.5 regression] Spurious warnings on conversion of pointers to member functions

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 1 23:18:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-01 23:18 -------
Subject: Bug 14803

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	mmitchel@gcc.gnu.org	2004-04-01 23:18:23

Modified files:
	gcc/cp         : ChangeLog typeck.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/inherit: ptrmem1.C 

Log message:
	PR c++/14803
	* typeck.c (get_delta_difference): Call fold before returning the
	value.
	
	PR c++/14803
	* g++.dg/inherit/ptrmem1.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-branch&r1=1.3892.2.93&r2=1.3892.2.94
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.519.2.13&r2=1.519.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.160&r2=1.3389.2.161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/inherit/ptrmem1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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



More information about the Gcc-bugs mailing list