This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31419] [4.1/4.2/4.3 regression] template user defined conversion operator instantiated for conversion to self



------- Comment #6 from jason at gcc dot gnu dot org  2007-09-04 20:18 -------
Subject: Bug 31419

Author: jason
Date: Tue Sep  4 20:18:05 2007
New Revision: 128102

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128102
Log:
        PR c++/31419
        * call.c (reference_binding): Don't look for user-defined conversions
        to the same type.

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


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]