[Bug c++/77563] [5/6 Regression] explicit constructor breaks narrowing conversion overload resolution
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 12 19:24:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77563
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:23:30 2017
New Revision: 246893
URL: https://gcc.gnu.org/viewcvs?rev=246893&root=gcc&view=rev
Log:
PR c++/77563 - missing ambiguous conversion error.
* call.c (convert_like_real): Use LOOKUP_IMPLICIT.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/overload/ambig3.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/call.c
More information about the Gcc-bugs
mailing list