[Bug c++/94197] __is_constructible gives an access error
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 17 15:03:38 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94197
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ville Voutilainen <ville@gcc.gnu.org>:
https://gcc.gnu.org/g:887085be635101ae1fa16be8dcdbbe6b240b600b
commit r10-7219-g887085be635101ae1fa16be8dcdbbe6b240b600b
Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Tue Mar 17 16:38:25 2020 +0200
c++: Fix access checks for __is_assignable and __is_constructible
gcc/
PR c++/94197
* cp/method.c (assignable_expr): Use cp_unevaluated.
(is_xible_helper): Push a non-deferred access check for
the stub objects created by assignable_expr and constructible_expr.
testsuite/
PR c++/94197
* g++.dg/ext/pr94197.C: New.
More information about the Gcc-bugs
mailing list