https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93140

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:907401f2f910847b4581daf44d02e2cf9bfad220

commit r8-10052-g907401f2f910847b4581daf44d02e2cf9bfad220
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Feb 24 16:22:45 2020 -0500

    c++: Fix decltype of empty pack expansion of parm.

    In unevaluated context, we only substitute a single PARM_DECL, not the
    entire chain, but the handling of an empty pack expansion was missing that
    check.

    gcc/cp/ChangeLog
    2020-02-24  Jason Merrill  <ja...@redhat.com>

        PR c++/93140
        * pt.c (tsubst_decl) [PARM_DECL]: Check cp_unevaluated_operand in
        handling of TREE_CHAIN for empty pack.

Reply via email to