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++/77563] [5/6/7 Regression] explicit constructor breaks narrowing conversion overload resolution


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77563

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Mar 23 12:50:55 2017
New Revision: 246417

URL: https://gcc.gnu.org/viewcvs?rev=246417&root=gcc&view=rev
Log:
        PR c++/77563 - missing ambiguous conversion error.

        * call.c (convert_like_real): Use LOOKUP_IMPLICIT.

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

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