re PR c++/13932 (duplicate warning message for conversion)
authorMark Mitchell <mark@codesourcery.com>
Thu, 5 Feb 2004 05:22:21 +0000 (05:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 5 Feb 2004 05:22:21 +0000 (05:22 +0000)
commitf583e45212b6c2960801fc74c34104bb9064fc95
tree92dbe1ba12925bb7f2269dd4dc61d69a4071032e
parentbfa21a28ea5b3a5f6f524eaf95d67d0104ca6438
re PR c++/13932 (duplicate warning message for conversion)

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.

From-SVN: r77297
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]