[Bug c++/13932] [3.3 regression] duplicate warning message for conversion

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 22 16:27:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-22 16:27 -------
Subject: Bug 13932

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	gdr@gcc.gnu.org	2004-02-22 16:27:38

Modified files:
	gcc/cp         : ChangeLog call.c typeck.c 
Added files:
	gcc/testsuite/g++.dg/warn: conv2.C 

Log message:
	Backport from mainline
	2004-02-04  Mark Mitchell  <mark@codesourcery.com>
	PR c++/13932
	* call.c (convert_like_real): Use "converting" rather than
	"argument" as the descriptive keyword to
	dubious_conversion_warnings.
	* typeck.c (convert_for_assignment): Do not call
	dubious_conversion_warnings.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.249&r2=1.3076.2.250
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.341.2.38&r2=1.341.2.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.436.2.20&r2=1.436.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/conv2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.2.6.1



-- 


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



More information about the Gcc-bugs mailing list