------- Comment #13 from simartin at gcc dot gnu dot org  2007-10-12 18:43 
-------
Subject: Bug 26698

Author: simartin
Date: Fri Oct 12 18:43:33 2007
New Revision: 129274

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129274
Log:
gcc/cp/

2007-10-12  Simon Martin  <[EMAIL PROTECTED]>

        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-12  Simon Martin  <[EMAIL PROTECTED]>

        PR c++/26698
        * g++.dg/conversion/op4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/conversion/op4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to