[Bug c++/86480] [8/9 Regression] error: parameter packs not expanded with '...' in a recursive variadic lambda

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 18 13:43:00 GMT 2018


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jul 18 13:42:02 2018
New Revision: 262858

URL: https://gcc.gnu.org/viewcvs?rev=262858&root=gcc&view=rev
Log:
        PR c++/86480 - nested variadic lambda and constexpr if.

        * pt.c (find_parameter_packs_r) [IF_STMT]: Don't walk into
        IF_STMT_EXTRA_ARGS.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-if24.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list