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

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

https://gcc.gnu.org/g:f6bef09771cf93e695cf719fb43db8c43e31acf5

commit r10-6464-gf6bef09771cf93e695cf719fb43db8c43e31acf5
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Feb 5 17:59:28 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.

        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