On 3/16/20 6:13 PM, Ville Voutilainen wrote:
On Mon, 16 Mar 2020 at 23:25, Ville Voutilainen
<ville.voutilai...@gmail.com> wrote:

Tested on Linux-PPC64.

This ain't no regression. But it seems to hamper attempts to fix library
regressions (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033).

It occurred to me that this can be done in one place.

2020-03-17  Ville Voutilainen  <ville.voutilai...@gmail.com>

     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.

It occurs to me that we don't need to defer access control in instantiate_template_1 if we're instantiating an alias template, but this patch is OK as is.

Jason

Reply via email to