This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r129282 - in /branches/gcc-4_2-branch/gcc: cp/C...
- From: simartin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 13 Oct 2007 06:04:58 -0000
- Subject: r129282 - in /branches/gcc-4_2-branch/gcc: cp/C...
Author: simartin
Date: Sat Oct 13 06:04:57 2007
New Revision: 129282
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129282
Log:
gcc/cp/
2007-10-13 Simon Martin <simartin@users.sourceforge.net>
PR c++/26698
* call.c (build_user_type_conversion_1): Do not consider conversion
functions to convert a (possibly cv-qualified) object to the (possibly
cv-qualified) same object type (or a reference to it), to a (possibly
cv-qualified) base class of that type (or a reference to it).
gcc/testsuite/
2007-10-13 Simon Martin <simartin@users.sourceforge.net>
PR c++/26698
* g++.dg/conversion/op4.C: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/conversion/op4.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/call.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog