[Bug c++/89917] [8 Regression] ICE with lambda in variadic template hierarchy

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 25 19:44:00 GMT 2020


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

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

https://gcc.gnu.org/g:7ac251ee4fa84f5a7583c597fa0641278e3855fc

commit r8-10064-g7ac251ee4fa84f5a7583c597fa0641278e3855fc
Author: Jason Merrill <jason@redhat.com>
Date:   Tue Feb 25 13:37:18 2020 -0500

    PR c++/89917 - ICE with lambda in variadic mem-init.

    A mem-initializer is not a type, and we don't want to turn autos within it
    into packs.

    gcc/cp/ChangeLog
    2020-02-25  Jason Merrill  <jason@redhat.com>

        PR c++/89917 - ICE with lambda in variadic mem-init.
        * pt.c (make_pack_expansion): Change type_pack_expansion_p to false.


More information about the Gcc-bugs mailing list