[Bug c++/87093] is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source
ville at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 12 21:47:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093
--- Comment #6 from ville at gcc dot gnu.org ---
Author: ville
Date: Wed Sep 12 21:43:49 2018
New Revision: 264254
URL: https://gcc.gnu.org/viewcvs?rev=264254&root=gcc&view=rev
Log:
PR c++/87093
Backport from mainline
2018-09-13 Ville Voutilainen <ville.voutilainen@gmail.com>
gcc/cp
PR c++/87093
* method.c (constructible_expr): We're in an unevaluated context
in all cases, not just for class targets.
testsuite/
PR c++/87093
* g++.dg/ext/is_constructible2.C: New.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/is_constructible2.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/method.c
More information about the Gcc-bugs
mailing list