[Bug c++/92909] [8/9/10 Regression] ICE on incorrect lambda inside variadic template

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 15 22:09:27 GMT 2020


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

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

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

commit r9-8379-gc3747bca3849b1e06358db9cb2389d8089c49e3e
Author: Jason Merrill <jason@redhat.com>
Date:   Sat Mar 14 17:10:39 2020 -0400

    c++: Find parameter pack in typedef in lambda [92909].

    find_parameter_packs_r doesn't look through typedefs, which is normally
    correct, but that means we need to handle their declarations specially.

    gcc/cp/ChangeLog
    2020-03-14  Jason Merrill  <jason@redhat.com>

            PR c++/92909
            * pt.c (find_parameter_packs_r): [DECL_EXPR]: Walk
            DECL_ORIGINAL_TYPE of a typedef.


More information about the Gcc-bugs mailing list