OSDN Git Service

PR c++/13932
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2004 05:22:21 +0000 (05:22 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2004 05:22:21 +0000 (05:22 +0000)
commitf1b317297237b668e8436c27fa9b35216068e6df
tree92dbe1ba12925bb7f2269dd4dc61d69a4071032e
parent007f9998410773f204964208acc9ad18ccc98f64
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.

PR c++/13932
* g++.dg/warn/conv2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77297 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/conv2.C [new file with mode: 0644]