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

--- Comment #3 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:0cf4813202f19768e31666f6aa82bde4dce4065a

commit r11-7953-g0cf4813202f19768e31666f6aa82bde4dce4065a
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Apr 1 15:17:40 2021 -0400

    c++: variadic lambda noexcept-specifier [PR99583]

    The tree-walk looking for parameter packs didn't find this one because we
    weren't stepping into TYPE_RAISES_EXCEPTIONS.

    gcc/cp/ChangeLog:

            PR c++/99583
            PR c++/99584
            * tree.c (cp_walk_subtrees) [FUNCTION_TYPE]: Walk into
            TYPE_RAISES_EXCEPTIONS.

    gcc/testsuite/ChangeLog:

            PR c++/99583
            * g++.dg/cpp0x/lambda/lambda-variadic12.C: New test.

Reply via email to