re PR c++/87093 (is_constructible (__is_constructible() instrinsic) explicitly instan...
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 12 Sep 2018 21:10:43 +0000 (00:10 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Wed, 12 Sep 2018 21:10:43 +0000 (00:10 +0300)
commitb51da998eee6b17630d7c9b1035cf47b77aa2af3
tree4fd908638cd6d0d5d8558cc86e4c79c1bffbd2e5
parent4911b24d71955b757fdaac29b878ae33c32f3e0b
re PR c++/87093 (is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source)

PR c++/87093

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.

From-SVN: r264253
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/g++.dg/ext/is_constructible2.C [new file with mode: 0644]